#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
When we use void main and int main?
How can I write a function that takes a format string and a variable number of arguments?
What does sizeof function do?
What is the description for syntax errors?
What does c mean before a date?
What is static memory allocation? Explain
What is atoi and atof in c?
What is the use of gets and puts?
What is difference between scanf and gets?
What is derived datatype in c?
How important is structure in life?
What is difference between constant pointer and constant variable?
Explain what are global variables and explain how do you declare them?
What does nil mean in c?
Why clrscr is used in c?