I have the following code:
z=x-~y-1;
printf("%d",z);
z=(x^y)+2(x&y);
printf("%d",z);
z=(x|y)+(x&y);
printf("%d",z);
z=2(x|y)-(x^y);
printf("%d",z);
I get this error message:
10:11: error: called object is not a function or function pointer
z=(x^y)+2(x&y);
^
The language is C. Why did this happen?
2(x&y)supposed to do?2*(x&y)