Linux Shared & Static Libraries Question:
Download Questions PDF

Which option of GCC compiler provides the linking with shared libraries?
a) -lmylib
b) -lib
c) -mylib
d) none of the mentioned

Answer:

a) -lmylib

Download Static and Shared Libraries Interview Questions And Answers PDF

Previous QuestionNext Question
Shared libraries are linked with the program:
a) at the time of creation of executable
b) at the run time
c) both (a) and (b)
d) none of the mentioned
In Linux, the static library has the extension of:
a) .a
b) .b
c) .c
d) .d