C Programming :: Bitwise Operators - Discussion
Home > C Programming > Bitwise Operators > MCQs Questions Discussion
6 / 34
What would be the output of the following program ?
#include
void main ()
{
unsigned int a = 0xffff;
~a;
printf ("%x", a);
}
void main ()
{
unsigned int a = 0xffff;
~a;
printf ("%x", a);
}
Affff
B00ff
C0
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!