MCQOPTIONS
Saved Bookmarks
| 1. |
What will happen if the following loop is executed ? int num = 0; do { --num; printf(“%d”, num); num++; }while (num >= 0); } |
| A. | The loop will run infinite number of times |
| B. | The program will not enter the loop |
| C. | There will be a compilation error |
| D. | There will be runtime error |
| Answer» D. There will be runtime error | |