As you know, static arrays are much faster than dynamic. C++ allows you to set the size of a static array like:
const unsigned int size = 5;
unsigned int data[size];
Now, I heard it's possible to change the value of the const.
a) First of all how to change the value of the const?
b) If I do the following:
const unsigned int size = 5;
somehow change the value of size to 65
unsigned int data[size];
What I lose? Seems too good to be true?