#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
write a program to concatenation the string using switch case?
How can I make it pause before closing the program output window?
what is the basis for selection of arrays or pointers as data structure in a program
What are directives in c?
Why do we use header files in c?
Explain which function in c can be used to append a string to another string?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What are called c variables?
What are the loops in c?
What is adt in c programming?
Why pointers are used in c?
What are multibyte characters?
Why is c called "mother" language?
Does c have enums?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks