Can Dynamic libraries have global, local and static variables in linux?
If yes, then where will each of these variables get stored in the memory?
In my view, Globals and Static will be along with the code section of the Dynamic libraries while the locals should get declared in the stack of the executable making calls to the functions of the dynamic libraries.