[Solved] What does this code mean in C, ” int x = ~!printf; “?
printf without arguments is the function pointer, worth a non-zero value (it’s built-in so the pointer cannot be zero) Now you apply logical negation (!) on this non-zero value: you get zero. Now negate this zero bit-wise (using bit to bit negation ~), you get all 1s in the int bit range (which can vary … Read more