Vidyalelo
C Programming · Q57

C Fundamentals

Programming · C Programming · question 57

Q57

What will be the output of the following C code? #include int main() unsigned int a = 10; a = ~a; printf("%d ", a);

A.
-9
B.
-10
C.
-11
Answer
D.
10

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board