Quick Actions Home Report a Bug Submit a PR / Fix Code View Repository Developer Portfolio GitHub Profile apc-sps-006.c¶ Problem Statement Bitwise NOT '~' Metadata¶ Property Detail Author Amit Dutta (amitdutta4255@gmail.com) License MIT Actions¶ Raw View on GitHub 💡 You can print or save this file by opening Raw and using your browser. Source Code¶ #include<stdio.h> int main() { int x = 12, y = 15, z = 21; int res, res1, res2; res = x > 10; res1 = ~res; res2 = ~x; printf("REs = %d, Res1 = %d, Res2 = %d", res, res1, res2); return 0; }