Answer Posted / vrushali
This boils down to (10 +10 * 10 + 10)
so answer is 120 ... but if the same macro was rewritten as
#define d (10 + 10)
then d * d = (10 + 10 ) * (10 + 10)
= 20 * 20
= 400....
Pure macro concept....
Is This Answer Correct ? | 15 Yes | 12 No |
Post New Answer View All Answers
What is the size of a union variable?
Can we declare variable anywhere in c?
How do I swap bytes?
How can variables be characterized?
Why can't I perform arithmetic on a void* pointer?
What are header files why are they important?
When should a type cast be used?
What is the difference between the expression “++a” and “a++”?
what are the 10 different models of writing an addition program in C language?
When the macros gets expanded?
What is static volatile in c?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Explain how can I read and write comma-delimited text?
What are the different types of linkage exist in c?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);