Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C Programming
»
Bitwise Operators
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; }
ffff
0000
00ff
ddfd
Show Answer
Correct Answer:
ffff
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment