Sail E0 Webinar
Question


If an unsigned int is 2 bytes wide then, What will be the output of the program ?


#include<stdio.h>
int main()
{
unsigned int m = 32;
printf("%xn", ~m);
return 0;
}
Options:
A .  ffff
B .  0000
C .  ffdf
D .  ddfd
Answer: Option C




Submit Your Solution Below and Earn Points !

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers