C Programming :: C Preprocessor - Discussion
Home > C Programming > C Preprocessor > MCQs Questions Discussion
16 / 34
What will be output of the following "c" code?
#include<stdio.h>
#define SQR(x) x*x
void main()
{
int a =5, b, c;
b = SQR(a++);
c = SQR(++a);
printf("%d %d", b, c);
}
#include<stdio.h>
#define SQR(x) x*x
void main()
{
int a =5, b, c;
b = SQR(a++);
c = SQR(++a);
printf("%d %d", b, c);
}
A49
B25
C30
D36
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!