Is there any way of creating a static array in c++ at run time.
What i want is really simple like just want to get input number from user and create a static array of size of input number at run time. No new operator is required no pointer are required just static array?
Is there any way of creating a static array in c++ at run time.
Share
If you mean
Then: No. C99 has a feature called Variable-Length-Arrays, but the C++03 (and ‘0x) standard have no notion of this kind of feature.