C
Programming and Technical
Programming
Definition
What are the two forms of #include directive?
Read Solution (Total 1)
-
- #include
or
#include “filename”
Form 1:
#include: This statement will search the file in include directory (Default location of include directory is c:tcinclude). If that file is present then #include statement is replaced by content of file. If that file is not present then it will cause of compilation error.
Form 2:
#include”filename”: This statement will first search the given file any current working directory and if it is not present then it will cause of compilation error, unable to open the file. If that file is present then include statement is replaced by content of file.
- 10 years agoHelpfull: Yes(1) No(0)
C Other Question