C Preprocessor - Programming

Q1:

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

A During editing

B During linking

C During execution

D During preprocessing

ANS:D - During preprocessing

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.