#includestdio.h
#define FUN(arg) do\
{\
if(arg)\
printf(have fun...,\n);\
} while(i--)
void main()
{int i=2;
FUN(i3);
}
A.have fun..
have fun..
have fun..
B.have fun..have
the output will be (b)
before looking for the reason, you should know the syntax of printf
*int printf(const char *format,)*
the function at the string after the comma operator only if the format
string aks for any format specifier like %d or %f etc...u can try it like
this also in normal
Thanks a lot :)
On Mon, Jul 18, 2011 at 2:48 AM, Piyush Sinha ecstasy.piy...@gmail.comwrote:
the output will be (b)
before looking for the reason, you should know the syntax of printf
*int printf(const char *format,)*
the function at the string after the comma operator only if the