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

C program to find all possible outcomes of a dice?

1844


How do I get an accurate error status return from system on ms-dos?

639


What is openmp in c?

605


Explain what does the format %10.2 mean when included in a printf statement?

769


Why do we use header files in c?

573






Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3114


What is the use of f in c?

551


What is d'n in c?

624


What is the purpose of & in scanf?

589


Explain how do you override a defined macro?

577


Is return a keyword in c?

590


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1409


Explain 'bus error'?

553


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2152


Explain what are the __date__ and __time__ preprocessor commands?

585