#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 / anil
27
| Is This Answer Correct ? | 3 Yes | 16 No |
Post New Answer View All Answers
C program to find all possible outcomes of a dice?
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is the difference between memcpy and memmove?
can we implement multi-threads in c.
c program to compute AREA under integral
How will you divide two numbers in a MACRO?
where are auto variables stored? What are the characteristics of an auto variable?
What is the difference between malloc calloc and realloc in c?
Who invented bcpl language?
Is it possible to execute code even after the program exits the main() function?
Why do we use main function?
what is stack , heap ,code segment,and data segment
What is C language ?
How can this be legal c?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.