Linux Shared & Static Libraries Question:
Download Questions PDF

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

Answer:

a) changes done in code make the shared library incompatible with the previous version

Download Static and Shared Libraries Interview Questions And Answers PDF

Previous QuestionNext Question
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
Which command can be used to update the shared library system?
a) lconfig
b) ldconfig
c) slconfig
d) none of the mentioned