Linux Shared & Static Libraries Question:
Download Questions PDF

When a program is linked with a shared library:
a) only a small table is created in the executable
b) executable contains the whole content of respective .so file
c) executable contains nothing related with the shared libraries
d) none of the mentioned

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

Answer:

a) only a small table is created in the executable

Download Static and Shared Libraries Interview Questions And Answers PDF

Previous QuestionNext Question
After using the shared library, memory can be done free by calling:
a) dlclose
b) slclose
c) lclose
d) none of the mentioned
For a shared library, version number is changed when:
a) changes done in code make the shared library incompatible with the previous version
b) changes done in code does not make the shared library incompatible with the previous version
c) when minor number is changed
d) none of the mentioned