0

How to convert this to array without fixed values

Need to change the code with no fixed value.. Ie, it should take n values and print the same values https://code.sololearn.com/csCTJFyRzSOf/?ref=app

28th Jan 2021, 6:20 AM
Sreejith P
Sreejith P - avatar
1 Resposta
+ 1
Use a std::vector. It is a dynamic array.
28th Jan 2021, 6:44 AM
Théophile
Théophile - avatar