Thursday, 20 March 2014

PREDEFINED SYMBOLIC CONSTANTS

Five predefined symbolic constants
Cannot be used in #define or #undef——
given below………….


Symbolic constant Description
__LINE__ The line number of the current source code line (an inte¬ger constant).
__FILE__ The presumed name of the source file (a string).
__DATE__ The date the source file is compiled (a string of the form “Mmm dd yyyy” such as “Jan 19 2001″). 
__TIME__ The time the source file is compiled (a string literal of the form “hh:mm:ss”).

No comments:

Post a Comment