Example code for #define int char:
What is the output of below c program?
assume int is 4 bytes, char is 1 byte.
#define int char
#define char int
compile time error
pre processing time error.
it prints 4. For repetitive macro expansions, it will stop expanding after 3rd expansion. so output is int is int only so it prints 4.
Back To Top