Home / C Programming / Bitwise Operators :: Discussion

Discussion :: Bitwise Operators

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

     #include
    
      int main()
      {    
         unsigned int m = 32;     
         printf("%x\n", ~m);  
         return 0; 
       } 

     

  2. A.

    ffff

    B.

    0000

    C.

    ffdf

    D.

    ddfd

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment