I've a question on dynamic memory.
As i understand it, i can create a dynamic memory array using:
xxx= new int [z];
Then I can set the value of 'z' to be whatever value i want during the program.
But if i create a dynamic memory array using a predefined length, eg.
xxx = new int [5]
is the array limited to just 5 values or can i add more elements to the array?
Thanks.