Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
#include
using namespace std; int main() { vector
cars = {"Volvo", "BMW", "Ford", "Mazda"}; // Change the value of the first element cars.at(0) = "Opel"; cout << cars.at(0); return 0; }
Opel