MCQ Single Best Answer Not Set

QIf 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("%x", ~m);
    return 0;
}

ID: #1165 Operators and Enums in C Language 5,369 views
Question Info
#1165Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A ffff
  • B 0000
  • C ffdf
  • D ddfd
Correct Answer: Option C

Explanation

Option C

Share This Question

Challenge a friend or share with your study group.