Is it true that the size of an array has to be a constant variable? Like for example,
const int size = 5;//would int size = 5 not be allowed?
int array[size];
Also if this this is true what happens when you work with dynamic arrays? Would int size = 5;
be fine then?