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 | 13 No |
Post New Answer View All Answers
Is c procedural or functional?
What is the difference between array_name and &array_name?
Why doesnt long int work?
c program to compute AREA under integral
What functions are used in dynamic memory allocation in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Is int a keyword in c?
What's the best way of making my program efficient?
Can we declare a function inside a function in c?
Can a void pointer point to a function?
What is a volatile keyword in c?
Where we use clrscr in c?
What is calloc() function?
What was noalias and what ever happened to it?