What will be value of count after the following C program is executed?

Loading

โœช Choose the correct option.

What will be value of count after the following C program is executed?


void main()
{
int count, digit = O;
count= 1;
while (digit <= 9){
printf ("%d/n", ++count);
++ digit;
}

A. 10
B. 8
C. 12
D. 11

Leave a Comment