#include using namespace std; int main() { string cars[4] = {"Volvo", "Opel", "Volkswagen", "Auto"}; for (int i = 0; i < 4 ; i++) { // needs to be size of cars array else segfault cout << cars[i] << "\n"; } }