What will the following program do ?
void main ( )
{
int digit = 0 ;
do
{
cout << digit + + << "\n" ;
}
while (digit < = 10);
}
a) Display integers from 1 to 10
b) Display integers from 0 to 10
c) Adding 10 integers
d) None of the above
Answers
Answered by
0
Answer:
answer is (a) display integers from 1 to 10
Similar questions