#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
the x itself is 2 and the print out is 9
| Is This Answer Correct ? | 14 Yes | 16 No |
Post New Answer View All Answers
Why is c so important?
Why we use conio h in c?
There seem to be a few missing operators ..
What is volatile variable how do you declare it?
What are the types of i/o functions?
Is flag a keyword in c?
Where are c variables stored in memory?
Write a program to check palindrome number in c programming?
What are the uses of null pointers?
List out few of the applications that make use of Multilinked Structures?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What do you mean by a local block?
What is multidimensional arrays
what is ur strangth & weekness
Is there a way to compare two structure variables?