can I define an array or built-in array with variable size. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

can I define an array or built-in array with variable size.

c++ doesn't allow for this and just take const number. how can I creat a way for take number of member from user and make it. array < int, x> myarray; int my array [x] ; Is there push and pull comment?

9th Apr 2019, 4:17 PM
Alireza Abbasi
Alireza Abbasi - avatar
0 Answers