APC-SPS-006.c (219B)
1 /* Bitwise NOT '~' */ 2 3 #include<stdio.h> 4 int main() { 5 int x = 12, y = 15, z = 21; 6 int res, res1, res2; 7 res = x > 10; 8 res1 = ~res; 9 res2 = ~x; 10 printf("REs = %d, Res1 = %d, Res2 = %d", res, res1, res2); 11 return 0; 12 }