I read in some books that the variables use to declare variable length arrays must have auto storage class.
Can someone explain me why does it need variables with auto storage class?
And are the space for variable length arrays allocated in stack or heaps?