Linux Shared & Static Libraries Interview Preparation Guide Download PDF
Linux Shared & Static Libraries frequently Asked Questions in various Static and Shared Libraries job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting
20 Static and Shared Libraries Questions and Answers:
2 :: 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
c) both (a) and (b)
3 :: 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
d) all of the mentioned
5 :: If a program is linked against a static library then:
a) machine code of the used function is copied in the executable
b) used function definition is copied into the preprocessd code
c) used function definition is provided at the time of compiling
d) none of the mentioned
a) machine code of the used function is copied in the executable
7 :: 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
c) both (a) and (b)
8 :: In Linux, the static libraries can be created by:
a) ar command
b) as command
c) ap command
d) aq command
a) ar command