4
Reply

In which stage the following code #include gets replaced by the contents of the file stdio.h

vishal garg

vishal garg

Oct 10, 2013
3.8k
0

    The line gets replace in compilation process. More specifically in pre processing stage.

    Nachiappan NK
    June 16, 2015
    0

    During the phase of compilation when compiler proceed the preprocessor at starting of program then #include is replaced by it's text/content...........

    Rahul Prajapat
    June 03, 2015
    0

    During the phase of compilation when compiler proceed the preprocessor at starting of program then #include is replaced by it's text/content...........


    During preprocessing

    Because
    The preprocessor replaces the line #include  with the system header file of that name. More precisely, the entire text of the file 'stdio.h' replaces the#include directive.

    vishal garg
    October 10, 2013
    0