RSS Feed for This PostCurrent Article

What is difference between template and macro??

There is no way for the compiler to verify that the macro parameters are of compatible
types. The macro is expanded without any special type checking. If macro parameter has a postincremented variable ( like c++ ), the increment is performed two times. Because macros are expanded by the preprocessor, compiler error messages will refer to [...]

Trackback URL

Post a Comment