#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 / c harlee jain
Value of x will be 2
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
What does typeof return in c?
What are pointers? What are different types of pointers?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
How does selection sort work in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
hi, which software companys will take,if d candidate's % is jst 55%?
How can I write a function analogous to scanf?
What are the valid places to have keyword “break”?
How do you search data in a data file using random access method?
Wt are the Buses in C Language
What is a macro in c preprocessor?
code for quick sort?
What are the 4 types of functions?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does the format %10.2 mean when included in a printf statement?