Linux Shared & Static Libraries Question:
Download Questions PDF

The archive(ar) utility in linux can:
a) create a new static library
b) insert the object files into the static library
c) replace the object files into the static library
d) all of the mentioned

Answer:

d) all of the mentioned

Download Static and Shared Libraries Interview Questions And Answers PDF

Previous QuestionNext Question
In linux, the static libraries are mostly installed in:
a) /usr/lib
b) /usr/local/lib
c) both (a) and (b)
d) none of the mentioned
To use the static library in the program:
a) header file must be provided to in the source code
b) path for the library must be specified
c) both (a) and (b)
d) none of the mentioned