Join ExamsbookAnswer : 1. "ffff"
What would be the output of the following program ?
main()
{
unsigned int a = oxffff;
~a;
printf ("%x", a);
}5
Q: What would be the output of the following program ? main() { unsigned int a = oxffff; ~a; printf ("%x", a); }
- 1fffftrue
- 20000false
- 300fffalse
- 4None of the abovefalse
- Show AnswerHide Answer
- Workspace
Answer : 1. "ffff"
Explanation :
Answer: A) ffff Explanation: