What are the standard predefined macros? Ans. The ANSI C standard defines six predefined macros for use in the C language: Macro Name Purpose __LINE__ - Inserts the current source code line number in your code. __FILE__ - Inserts the current source code filename in your code. __DATE__ - Inserts the current date of compilation in your code. __TIME__ - Inserts the current time of compilation in your code. __STDC__ - Is set to 1 if you are enforcing strict ANSI C conformity. __cplusplus - Is defined if you are compiling a C program. - Study24x7
Social learning Network
24 Mar 2023 10:56 AM study24x7 study24x7

What are the standard predefined macros? Ans. The ANSI C standard defines six predefined macros for use in the C language: Macro Name Purpose __LINE__ - Inserts the current source code line number in your code. __FILE__ - Inserts the current source code filename in your code....

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles