0
Use the vector library in c++ by the following code. #include<vector> A vector is always dynamic in the sense that its size is not fixed like a typical C array. Alternatively, you can use this code here to create a dynamic array in c++. https://code.sololearn.com/cPNH9X9H0Rzo/?ref=app
2nd Jul 2019, 5:58 AM
Ebad Qureshi