what is output?
main()
{
#define SQR(x) x++ * ++x
int i = 3;
printf("
%d %d
",SQR(i),i * SQR(i));
}
a)9 27
b)35 60
c)20 60
d)15 175
Answer Posted / lalit
b) 35,60
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a null pointer in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
How can I read data from data files with particular formats?
Once I have used freopen, how can I get the original stdout (or stdin) back?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
Explain the use of 'auto' keyword
What is the purpose of sprintf() function?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Explain the ternary tree?
What are c preprocessors?
What is the general form of function in c?
Explain the difference between malloc() and calloc() function?
How variables are declared in c?
What is #include stdio h and #include conio h?
What does dm mean sexually?