Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    unsigned int a = 10;
    a = ~a;
    printf("%d\n", a);
}

A. -9

B. -10

C. -11

D. 10

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals