How many times does the cout statement in the following code execute?
int a = 2;int b = 6;while(a<10) for(int b = 0; b<4; ++b) { cout << a << " " << b << " "; ++a; }cout << endl;a. 8
b. 10
c. 12
d. infinitely
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.