#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 meant by gets in c?
Explain what are the different data types in c?
Is javascript based on c?
What is the difference between if else and switchstatement
Which is best book for data structures in c?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Can static variables be declared in a header file?
Is c is a procedural language?
What are linker error?
What is a pointer on a pointer in c programming language?
how to introdu5ce my self in serco
How can I swap two values without using a temporary?
What is d scanf?
Why is c not oop?
Can we use visual studio for c?