MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program, if a short int is 2 bytes wide? #include<stdio.h> int main() { short int i = 0; for(i<=5 && i>=-1; ++i; i>0) printf("%u,", i); return 0; } |
| A. | 1 ... 65535 |
| B. | Expression syntax error |
| C. | No output |
| D. | 0, 1, 2, 3, 4, 5 |
| Answer» B. Expression syntax error | |