Đàm Ngọc Lan
New member
What will be the output of the following C code?
A. -9
B. -10
C. -11
D. 10
Code:
#include <stdio.h>
int main()
{
unsigned int a = 10;
a = ~a;
printf("%d\n", a);
}
B. -10
C. -11
D. 10