#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 / ndarvind
5
Bcz 2+1*2+1=5
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Is there a way to compare two structure variables?
How can I handle floating-point exceptions gracefully?
How can you check to see whether a symbol is defined?
What is the difference between single charater constant and string constant?
Write a program to check whether a number is prime or not using c?
Explain what is the difference between functions getch() and getche()?
Do you know the difference between malloc() and calloc() function?
How many types of operator or there in c?
What is the use of typedef in c?
write a progrmm in c language take user interface generate table using for loop?
What is a constant?
What is character set?
What is nested structure in c?
Wt are the Buses in C Language
What is a global variable in c?