GCC Compiler Question:
Download Questions PDF

Which compilation step makes sure that all the undefined symbols in the code are resolved?
a) linking
b) compiling
c) preporcessing
d) none of the mentioned

Linux GCC Compiler Interview Question
Linux GCC Compiler Interview Question

Answer:

a) linking
Explanation:
An undefined symbol is one for which there is no definition available.

Download Linux GCC Compiler Interview Questions And Answers PDF

Previous QuestionNext Question
Which one of the following is not true?
a) we need to manually go through all intermediate stages to generate an executable in gcc
b) gcc compilation process always contains 4 stages
c) both (a) and (b)
d) none of the mentioned
Command line parameters are passed by the:
a) preprocessor
b) assembler
c) compiler
d) linker