Home / C Programming / C Preprocessor :: Discussion

Discussion :: C Preprocessor

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

  2. A.
    During editing
    B.
    During linking
    C.
    During execution
    D.
    During preprocessing

    View Answer

    Workspace

    Answer : Option D

    Explanation :

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


Be The First To Comment