I can not figure out why I am getting compling errors . can someone help? And it there another number to use for bitnot besides -1?
Code:#include <stdio.h> int main() { int x, y; int bitOr(int x, int y) { return ~(~ x & ~ y); } int bitXOr(int x,int y) { return (x|y) & ~(x&y); } int bitNot(int x) { return x ^ 0xffffffff; } int isNotEqual(int x, int y) { return (x^y); }