In C, if you can a const variable e.g.
const int i = 2;
you can use this variable in other module as follows
extern const int i;
C compiler will not complain.
But for C++ compiler u must write
extern const int i = 2;
else error would be generated.
C C++ C# JAVA ASP ASP.NET XML PHP SQL ORACAL JSP HTML JAVASCRIPT CSS ARE IN THE BLOG AND programming Language Question with answer,PHP pages,JSP pages ,HTML interview, question,Placement interview question ,Placement Question with solution ,Technical Placement question,Technical Placement question with Answer,Technical Placement question with Solution or other Links
No comments:
Post a Comment
Thanks to given comments.......