Thread: Clear my doubt
View Single Post
Light Poster
12Aug2007,01:45  
priyabc's Avatar
Code:
#define square(x) x*x

main()
{
 int i;
 i=64/square(4);
 printf("%d",i);
}
the result obtained for this
64

how it is so??

i thought 64/square(4) will be 64/4*4 = 64/16 which will be 4... but the result is not so why.. what happens

Last edited by shabbir; 12Aug2007 at 06:26.. Reason: Code block - http://www.go4expert.com/forums/misc.php?do=bbcode#code