Question Code 1114 |
Question Header files are listed using the preprocessing directive #include, and can have one of the following formats: #include <file X> or #include "file Y". What is the difference between these two formats? |
Answers
The preprocessor will try to locate file X in same directory as the source file, and the file Y in a predetermined directory path.
The preprocessor will try to locate file X in the fixed system directory. It will try to locate file Y in the directory path designated by the -I option added to the command line while compiling the source code.
The file using the file X syntax must be system files, of unlimited number; file Y must be a user file at a maximum of one per source file.
The preprocessor will try to locate file X in a predetermined directory path. It will try to locate file Y in the same directory as the source file along with a custom directory path.
|
Question Code 1126 |
Question What is the output of this program?
|
Answers
32
Runtime error
-32
0
|
Supported by: