#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 / azeem khan
Answer is 5
| Is This Answer Correct ? | 19 Yes | 9 No |
Post New Answer View All Answers
Is c is a low level language?
What is the basic structure of c?
What are keywords in c with examples?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What is call by reference in functions?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What does s c mean in text?
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
Compare array data type to pointer data type
Write a code to generate a series where the next element is the sum of last k terms.
What is the auto keyword good for?
How do you define CONSTANT in C?
When do we get logical errors?
In which layer of the network datastructure format change is done
What is spaghetti programming?