Question:What will happen when the following code is executed?
{
int num;
num =0;
do {-- num;
printf("%d\n", num);
num++;
} while (num >=0);
}
 

A The loop will run infinitely 

B The program will not enter the loop 

C There will be a compilation error 

D A runtime error will be reported 

E None 

+ Answer
+ Report
Total Preview: 9041

Copyright © 2024. Powered by Intellect Software Ltd