Choose Category
#include<stdio.h> main() { int a=8,b=4; int c,d; int i=4,j=-4,k=0; int e,f; c=~a//Negation operator d=a^b;//Exclusive OR operator printf("binary ones complement=%d binary xor=%d",c,d); e=i||j||k;//OR operator f=i&&j&&k;//AND operator printf("the value of or=%d and=%d",e,f); }