#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
i tried in pc the ans is 5
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What do header files do?
What are void pointers in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
How is a pointer variable declared?
What is a structural principle?
What is the scope of local variable in c?
What is array of structure in c?
What are the rules for the identifier?
How can I make it pause before closing the program output window?
Is fortran still used today?
Is printf a keyword?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
what does static variable mean?
How can I copy just a portion of a string?
What is the value of h?