MCQOPTIONS
Saved Bookmarks
| 1. |
In the following program how long will the for loop get executed? #include int main() { int i=5; for(;scanf("%s", &i); printf("%d\n", i)); return 0; } |
| A. | The for loop would not get executed at all |
| B. | The for loop would get executed only once |
| C. | The for loop would get executed 5 times |
| D. | The for loop would get executed infinite times |
| Answer» E. | |