Hard
What does the following code display?
int main() {
int i = 0;
while (i < 4) {
int j = 0;
do {
cout << ++j;
} while (j < i);
i++;
cout << endl;
}
return 0;
}
Author: SamuelStatus: PublishedQuestion passed 64 times
Edit
Similar QuestionsMore questions about C++