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 typedef example?
What math functions are available for integers? For floating point?
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.
int *a[5] refers to
Write code for finding depth of tree
What is difference between structure and union with example?
What is difference between && and & in c?
How can I ensure that integer arithmetic doesnt overflow?
Explain the difference between call by value and call by reference in c language?
increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {
What is array in C
Explain what happens if you free a pointer twice?