New course! Every coder should learn Generative AI!
Try a free lesson+ 1
If we don't specify the number of elements in an array, can we enter any number of elements in the braces?
2 Answers
+ 2
You can use vectors stl in cpp you can increase size at run time .
+ 1
Yes you can, but make sure that you do not overflow the stack since you are trying to create them locally.