|
#include <stdio.h>
#define i 10
main()
{
#define i 50
printf("%d",i);
},Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++,
HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
#include <stdio.h>
#define i 10
main()
{
#define i 50
printf("%d",i);
}
50
We can redefined the preprocessor directivesanywhere in the program. So the most recently assigned value will be taken.
|