MCQOPTIONS
Saved Bookmarks
| 1. |
If an unsigned int is 2 bytes wide then, What will be the output of the program ? #include<stdio.h> int main() { unsigned int a=0xffff; ~a; printf("%x n", a); return 0; } |
| A. | ffff |
| B. | 0000 |
| C. | 00ff |
| D. | ddfd |
| Answer» B. 0000 | |