#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
What does the file stdio.h contain?
What is data structure in c language?
What is the difference between null pointer and wild pointer?
Is a house a mass structure?
how to write a c program to print list of fruits in alpabetical order?
What is hash table in c?
Can true be a variable name in c?
How are structure passing and returning implemented?
How do you override a defined macro?
what is the difference between class and unio?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Explain what standard functions are available to manipulate strings?
Is swift based on c?
code for replace tabs with equivalent number of blanks