Can someone explain to me why the following code compiles? Is it ignored by the compiler?
#include <stdio.h>
int main() {
1234;
return 0;
}
The Standard obliges implementers to allow statements even with no apparent effect. This is mainly because through the magic of macros and templates, they're surprisingly easy to come up with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With