C Programming :: C Preprocessor - Discussion
Home > C Programming > C Preprocessor > MCQs Questions Discussion
29 / 34
Find the output for the following C program
#define d 10+10
main()
{
printf("%d",d*d);
}
A120
B400
C210
DNone of the above
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
TRICK
d*d will be replaced by 10+10*10+10 during run-time. So, answer is 10+100+10 = 120
Read Full Answer
Report Error
Please Login First Click Here