New course! Every coder should learn Generative AI!
Try a free lesson0
Can I declare more variables of an array exceeding the maximum capacity of the array?
2 Answers
0
If you mean like
int array[4]{0, 1, 2, 3};
array[6] = 5;
cout << array[6] << endl;
Yes you can.
0
Thanks duet