GCC Compiler Question:
Download Questions PDF

Which option of gcc makes the compiler print out each function name as it is compiled, and print some statistics about each pass when it finishes?
a) -p
b) -P
c) -q
d) -Q

Linux GCC Compiler Interview Question
Linux GCC Compiler Interview Question

Answer:

d) -Q

Download Linux GCC Compiler Interview Questions And Answers PDF

Previous QuestionNext Question
The -Wextra option of gcc:
a) is same as -w option
b) does not exist
c) enables extra warning messages
d) none of the mentioned
The command "cpp google.c > google.i" will:
a) create the expanded source code file google.i for the source code file google.c
b) append the content of the google.c into google.i
c) give an error
d) none of the mentioned