GCC Compiler Question:
Download Questions PDF

The -H option of gcc:
a) prints the name of each header file used
b) is used to include header file
c) ignores the header file which are not required by source code
d) none of the mentioned

Linux GCC Compiler Interview Question
Linux GCC Compiler Interview Question

Answer:

a) prints the name of each header file used

Download Linux GCC Compiler Interview Questions And Answers PDF

Previous QuestionNext Question
The -shared option of gcc generates shared ______ for shared library.
a) object file
b) preprocessed file
c) source file
d) none of the mentioned
The -fPIC option of gcc:
a) generates the position independent code of shared libraries
b) opens the source file in readonly mode
c) both (a) and (b)
d) none of the mentioned