Suppose your program contains code to create a dynamic array as follows:
int *entry;
entry = new int[10];
so that the pointer variable entry is pointing to this dynamic array. Write
code to fill this array with ten numbers typed in at the keyboard.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.