For Business
Login
Home
Assessments
Mytat Certificates
Community
Courses
Premium Courses
jobs
Practice
Upskilling
Projects
Help
Run ยป
#include
#include
using namespace std; int main() { string cars[5] = {"Volvo", "BMW", "Ford"}; cars[3] = "Mazda"; cars[4] = "Tesla"; for(int i = 0; i < 5; i++) { cout << cars[i] << "\n"; } return 0; }