c program output

Posted by sandy101 on Stack Overflow See other posts from Stack Overflow or by sandy101
Published on 2010-04-25T08:12:23Z Indexed on 2010/04/25 8:13 UTC
Read the original article Hit count: 353

Filed under:
|
|

HELLO , I am trying some program and confused with the output of the program

#include #define a(x) (x*x) int main() { int i=3,j; j=a(i+1); printf("%d",j); return 0 ; }

i want to know why the program is not giving the output 16(as instead to that i an getting the output 7 for the above program )

© Stack Overflow or respective owner

Related posts about c

    Related posts about program