#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 / bhagya
absolutely 5
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What does it mean when a pointer is used in an if statement?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What does sizeof int return?
What is a structure member in c?
What is file in c preprocessor?
Explain about the constants which help in debugging?
What is operator promotion?
What is the difference between typedef struct and struct?
What is void c?
What is c definition?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
please explain every phase in the "SDLC" in the dotnet.
Linked lists -- can you tell me how to check whether a linked list is circular?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?