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
When should the register modifier be used? Does it really help?
Explain the difference between the local variable and global variable in c?
Can you pass an entire structure to functions?
Is there any possibility to create customized header file with c programming language?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Differentiate between new and malloc(), delete and free() ?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is sizeof int in c?
what is use of malloc and calloc?
What is clrscr in c?
What header files do I need in order to define the standard library functions I use?
In C language what is a 'dangling pointer'?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Explain what is a program flowchart and explain how does it help in writing a program?