@umesh kewat
#include<stdio.h>
int main(){
int A =4;
#define A B
#define B A
printf("%d",A);
return 0;
}
This code works fine...but as you have explained the later A used in printf
statement must have replaced by B. In that case there must be a compiler
error "The identifier not defined". But this code compiless fine. and there
seems no visible effect of these two macros.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.