#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 / c harlee jain
Value of x will be 2
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What is a far pointer in c?
Are c and c++ the same?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What is c basic?
Are pointers really faster than arrays?
Is array a primitive data type in c?
What are the Advantages of using macro
What is the purpose of & in scanf?
Explain what are binary trees?
When should volatile modifier be used?
Why do some versions of toupper act strangely if given an upper-case letter?
Is return a keyword in c?
How can I direct output to the printer?
How can I open a file so that other programs can update it at the same time?