Get Started
845

Q: What would be the output of the following program ? main()  {        unsigned  int a = oxffff;         ~a;         printf ("%x", a); }

  • 1
    ffff
  • 2
    0000
  • 3
    00ff
  • 4
    None of the above
  • Show Answer
  • Workspace

Answer : 1. "ffff"
Explanation :

Answer: A) ffff Explanation:

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today