Saved Bookmarks
| 1. |
How to declare a vector in c++? |
|
Answer» N Declare V of vector type. Call push_back() FUNCTION to insert values into vector v. Print “Vector elements:”. for (int a : v) print all the elements of variable a If it is helpful to you then PLZZ follow me and MARK me as brainlist. Thank ♥ |
|