Can we modify the size of an array after we created it? like string. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we modify the size of an array after we created it? like string.

15th Jun 2016, 9:34 PM
mohamed chadad
mohamed chadad - avatar
1 Answer
0
No, you can't. Use vector<T, Allocator> instead!
20th Jun 2016, 5:58 PM
Alex Christian Lazau
Alex Christian Lazau - avatar