#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 / pravin
sqrt(x+1)(x+1*x+1)
as x=2;result will be 2+1*2+1=5;
thank u
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are the benefits of organizational structure?
What are two dimensional arrays alternatively called as?
Why do we use static in c?
Is c call by value?
What is the use of sizeof () in c?
Describe dynamic data structure in c programming language?
What is the use of a ‘ ’ character?
What is the difference between fread and fwrite function?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Distinguish between actual and formal arguments.
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How can I generate floating-point random numbers?
Explain what is a 'locale'?
How do you search data in a data file using random access method?
Is it cc or c in a letter?