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
Answers were Sorted based on User's Feedback
What is quick sort in c?
how to set Nth bit of variable by using MACRO
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
How to write a program for swapping two strings without using 3rd variable and without using string functions.
how many errors in c explain deply
How can I make a program in c to print 'Hello' without using semicolon in the code?
9 Answers C DAC, Practical Viva Questions,
What is the benefit of using an enum rather than a #define constant?
What is array in c with example?
Do variables need to be initialized?
what is disadvantage of pointer in C
Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...
how to print "hai" in c?