How do you include a system header file called sysheader.h in a C source file?
-
#include <sysheader.h>
-
#incl "sysheader.h"
-
#includefile <sysheader>
-
#include sysheader.h
-
#incl <sysheader.h>
A
Correct answer
Explanation
System header files (those that come with the C compiler) are included using angle brackets: #include . This tells the preprocessor to look for the file in standard system directories. Double quotes (#include "filename.h") are used for user-defined header files, where the preprocessor first looks in the current directory.