1.

How many times the while loop will get executed if a short int is 2 byte wide?_x000D_ #include_x000D_ int main()_x000D_ {_x000D_ int j=1;_x000D_ while(j <= 255)_x000D_ {_x000D_ printf("%c %d\n", j, j);_x000D_ j++;_x000D_ }_x000D_ return 0;_x000D_ }

A. Infinite times
B. 255 times
C. 256 times
D. 254 times
Answer» C. 256 times


Discussion

No Comment Found