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 the use of f in c?
what is the difference between class and unio?
sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.
program to find the roots of a quardratic equation
Write a program to swap two numbers without using third variable in c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is difference between static and global variable in c?
Why clrscr is used after variable declaration?
What is a good way to implement complex numbers in c?
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
What is static volatile in c?
There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.
15 Answers Cisco, Google, MBT,