Can Dynamic libraries have global, local and static variables in linux?
If yes, then where will each of these variabl开发者_StackOverflowes 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.
Your view is correct (ambiguous terminology aside)... not sure what exactly you're after here.
精彩评论