# include <stdio.h>
# define scanf "%s Hello "
int main()
{
printf(scanf, scanf);
return 0;
}
OUTPUT : %s Hello Hello
The above mentioned code gives the output that follows it. I understand that after pre-processing phase of compilation, printf statement will become. printf("%s Geeks Quiz ", "%s Geeks Quiz "). But I"m still having a hard time to know how it was further reduced to the obtained output.
Is the first statement imposed in the second or is it the other way around
I would like some help from anyone who has the idea. Thank you
I'm still an amateur, so it would be easy for me to understand a simple or detailed answer, but I would appreciate any replies.