#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
Explain about the functions strcat() and strcmp()?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What is the difference between malloc calloc and realloc in c?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What do you mean by a local block?
explain what is fifo?
What is an array in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
Can you pass an entire structure to functions?
what is the function of pragma directive in c?
find out largest elemant of diagonalmatrix
List some of the dynamic data structures in C?
write a program for the normal snake games find in most of the mobiles.
Is c object oriented?
write a c program to find the sum of five entered numbers using an array named number