#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
What are the 4 types of functions?
What is struct node in c?
explain what are actual arguments?
regarding pointers concept
Difference between strcpy() and memcpy() function?
What is pass by reference in functions?
What are qualifiers and modifiers c?
What are comments and how do you insert it in a C program?
Explain what is the difference between text files and binary files?
What is the size of empty structure in c?
the question is that what you have been doing all these periods (one year gap)
how can I convert a string to a number?
How to write c functions that modify head pointer of a linked list?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
Why isnt any of this standardized in c?