What is the value in count after the following loop is executed?

1.4 What is the value in count after the following loop is executed?
int count = 0;
do
{
cout << "Welcome to C++";
} while (count++ < 9);
cout << count;
A) 8
B) 9
C) 10
D) 11

Leave a Reply