#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
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
Explain the properties of union.
Define macros.
What is a function simple definition?
How does selection sort work in c?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
How do you use a pointer to a function?
How can you increase the allowable number of simultaneously open files?
What is null character in c?
Is it better to use malloc() or calloc()?
What is use of pointer?
I have seen function declarations that look like this
What are the advantages of using macro in c language?
Is c++ based on c?
Is there any data type in c with variable size?