Answer Posted / sorab
#define square(x) x*x
main()
{
int i;
i = 64/square(4);
printf("%d",i);
}
the macro call square(4) will substituted by 4*4 so the expression becomes i = 64/4*4 . Since / and * has equal priority the expression will be evaluated as (64/4)*4 i.e. 16*4 = 64
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What do you mean by a local block?
What does 4d mean in c?
What is a node in c?
What are linker error?
what do u mean by Direct access files? then can u explain about Direct Access Files?
What is getch c?
Why malloc is faster than calloc?
How can variables be characterized?
Can a variable be both const and volatile?
What is the use of header?
Is fortran still used today?
Why we use conio h in c?
What is a MAC Address?
What are the standard predefined macros?
what is ur strangth & weekness