#include<stdio.h>
#define fun(arg) do\
{\
if(arg)\
printf("have fun...","\n");\
}while(i--)
main()
{
int i=6;
fun(i<5);
}
give the answer and please give the reason for this
#include<stdio.h>
#define fun(a,b) a##b
main()
{
int a, b, ab;
a = 1, b = 2, ab = 3;
printf("%d %d", fun(a,b), ab);
return -1;
}
please tell me the use of this # in this program
~
--
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.