#include <stdio.h>
#define sqr(x) (x*x)
int main()
{
int x=2;
printf("value of x=%d",sqr(x+1));
}
What is the value of x?
Answer Posted / guest
i tried in pc the ans is 5
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of main( ) in c language?
what is a constant pointer in C
What happens if header file is included twice?
How do we declare variables in c?
Suggesting that there can be 62 seconds in a minute?
What is double pointer in c?
Can we compile a program without main() function?
Explain what math functions are available for integers? For floating point?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What is the condition that is applied with ?: Operator?
Where register variables are stored in c?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Explain zero based addressing.
What does char * * argv mean in c?
How do you do dynamic memory allocation in C applications?