I'm new to macros, and I just stumbled upon an exercise that I cannot understand. Can someone explain to me what is going on here? If I compile, I can see what the output is, but I cannot get it myself. Thank you in advance!
int main(void) {
int a = 0x12345678;
printf( "%x %x\n", M(a,0), M(a,3) );
printf( "%x %x\n", M(a,1), M(a,2) );
}
source
share