MCQOPTIONS
Saved Bookmarks
| 1. |
How many times the while loop in the following program will get executed if a short int is 2 byte wide?#include <stdio.h>int main ( ){ int a = 1; while (a <= 255) { printf ("%c %d n", a, a); a++; } return 0;} |
| A. | Infinite times |
| B. | 255 times |
| C. | 256 times |
| D. | Only once |
| E. | 254 times |
| Answer» C. 256 times | |