I am trying to understand how the next calculation is performed.
For example, if this is my terminal command
gcc ex2.c -D b+=2
Why do I get 5?
#include <stdio.h>
int main()
{
#ifdef b
printf("%d\n", 2 b | ~ 2 b);
#endif
return 0;
}
2 b mean 2*b ?
~ 2 b mean 2*b and then ~ ?