InterviewSolution
Saved Bookmarks
| 1. |
What are the differences between the following 2 statements #include "..." and #include ? |
|
Answer» Both DECLARATIONS specify for the files to be included in the current source file. The difference is in how and where the PREPROCESSOR LOOKS for including the files. For #include "...", the preprocessor just searches for the file in the current directory as where the source file is present and if not found, it proceeds to search in the STANDARD directories specified by the compiler. Whereas for the #include <...> declaration, the preprocessor looks for the files in the compiler designated directories where the standard LIBRARY files usually reside. |
|