Question: Header files are listed using the preprocessing directive #include, and can have one of the following formats: #include <fileA> or #include "fileB". What is the difference between these two formats?

  1. The preprocessor will try to locate fileA in same directory as the source file, and the fileB in a predetermined directory path.
  2. The preprocessor will try to locate fileA in the fixed system directory. It will try to locate fileB in the directory path designated by the -I option added to the command line while compiling the source code.
  3. The file using the fileA syntax must be system files, of unlimited number; fileB must be a user file at a maximun of one per source file.
  4. The preprocessor will try to locate fileA in a predetermined directory path. It will try to locate fileB in the same directory as the source file along with a custom directory path.

Answer: The correct answer of the above question is Option D:The preprocessor will try to locate fileA in a predetermined directory path. It will try to locate fileB in the same directory as the source file along with a custom directory path.