#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 / azeem khan
Answer is 5
| Is This Answer Correct ? | 19 Yes | 9 No |
Post New Answer View All Answers
Can we change the value of static variable in c?
What is the significance of scope resolution operator?
What is main () in c?
What are reserved words?
How important is structure in life?
Explain the binary height balanced tree?
What do you mean by dynamic memory allocation in c?
differentiate built-in functions and user – defined functions.
What is the difference between #include and #include 'file' ?
Write a program to show the change in position of a cursor using c
What is nested structure in c?
Differentiate between the expression “++a” and “a++”?
Is it possible to pass an entire structure to functions?
Define recursion in c.
What is the difference between %d and %i?