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 an example of structure?
What is the meaning of typedef struct in c?
wat is the meaning of c?
how to use showbits function?
How is a macro different from a function?
WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"
Which header file should you include if you are to develop a function which can accept variable number of arguments?
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
Why do we use stdio h and conio h?
write an interactive program to generate the divisors of a given integer.
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What do you mean by dynamic memory allocation in c?