#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 / poorna
Warning: Function Should have return value........
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
Can include files be nested?
What is static and volatile in c?
Why do we need arrays in c?
What does a function declared as pascal do differently?
Which type of language is c?
Why do we need functions in c?
How do we open a binary file in Read/Write mode in C?
Can main () be called recursively?
What is hashing in c language?
What are file streams?
How does placing some code lines between the comment symbol help in debugging the code?
Explain the use of function toupper() with and example code?
Why does everyone say not to use gets?
What is the use of a ‘’ character?
How do we print only part of a string in c?