Saturday, January 22, 2011

# define directive in c





#
define directive by examples and questions with explanation in c



This directive is also called as Macro substitution directive. Syntax:




#define [(, ,...)]




Note: [] indicates optional term.



Task of macro substitution directive is to replace the identifier with corresponding Token_string. For example:




#include

#define

No comments:

Post a Comment