1.

State the difference between the following:

Answer»
  • #include <file>
  • #include "file"

The main DIFFERENCE between the two is in the search location for the included file of the preprocessor. The preprocessor looks for #include "file" in the same directory as the directive's file. Normally, this approach is used to incorporate programmatically created header FILES. On the other hand, the preprocessor SEARCHES for #include <file> usually in search directories pre-designated by the COMPILER or the IDE (Integrated Development Environment) and not necessarily in the same directory as the directive's file. In most cases, this approach is used to incorporate standard library header files.



Discussion

No Comment Found