#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
Write a program to print factorial of given number using recursion?
Write a program to use switch statement.
What is %lu in c?
Why malloc is faster than calloc?
What is scope rule of function in c?
What functions are used in dynamic memory allocation in c?
List the variables are used for writing doubly linked list program.
What is a pointer in c?
Which is better oop or procedural?
How can I do graphics in c?
What are identifiers c?
Can you please explain the difference between strcpy() and memcpy() function?
Is fortran still used in 2018?
What is cohesion and coupling in c?
What does the function toupper() do?