

MCQOPTIONS
Saved Bookmarks
1. |
On executing the following program how many times will the message "Thanks God" get printed?#include <stdio.h>int main ( ) { int a; for(a = -1; a <= 10; a++) { if (a < 5) continue; else break; printf(" Thanks God n"); }return 0;} |
A. | Infinite times |
B. | 11 times |
C. | 0 times |
D. | Once |
E. | 10 times |
Answer» D. Once | |