#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
i tried in pc the ans is 5
Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Why use int main instead of void main?
What are the advantages of c preprocessor?
i have a written test for microland please give me test pattern
if p is a string contained in a string?
What are the scope of static variables?
What does char * * argv mean in c?
What is a file descriptor in c?
What does the function toupper() do?
Is it cc or c in a letter?
What are the disadvantages of c language?
When should I declare a function?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
what does static variable mean?
How can I do serial ("comm") port I/O?