Write the output for the following C program
#define p(a,b) (a+b)/2 main( ) { int x=4, y=9, h; x+=y++; y*=3; h=p(x,y); printf("%5d %5d %5d\n", x, y, h); } |
---|
Output :-
_ _ _ 13 _ _ _ 30 _ _ _ 21
#define p(a,b) (a+b)/2 main( ) { int x=4, y=9, h; x+=y++; y*=3; h=p(x,y); printf("%5d %5d %5d\n", x, y, h); } |
---|
© Blogger templates Newspaper III by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment