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 / aspirant

c

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why pointers are used?

635


Can you think of a logic behind the game minesweeper.

2012


What are the characteristics of arrays in c?

618


what is ur strangth & weekness

1826


What is a macro?

661






What is variable and explain rules to declare variable in c?

558


What is identifiers in c with examples?

680


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

924


What is return type in c?

646


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1269


What is console in c language?

618


Explain what are the different file extensions involved when programming in c?

639


Are there constructors in c?

602


What is wild pointer in c?

615


What are the rules for the identifier?

679