Linux Shared & Static Libraries Question:

Libraries can be linked with ____ to create executables.
a) other libraries
b) other object files
c) both (a) and (b)
d) none of the mentioned

Static and Shared Libraries Interview Question
Static and Shared Libraries Interview Question

Answer:

c) both (a) and (b)


Previous QuestionNext Question
Which gcc option is used to specify the library?
a) -c
b) -l
c) -a
d) -o
In Linux, the static libraries can be created by:
a) ar command
b) as command
c) ap command
d) aq command