Define function in variable in c/c++

#define a 10
main()
{
#define a 50
printf(“%d”,a);
}
Tutorial answer:
50
Debugging solution:
It will take the last assign value so there last assign value is 50.

Related post