Realization stack with array on C