I have encountered certain confusion while scrutinizing the long
distance friendship engendering violation of encapsulation.
If object (be it a class, variable, function, etc) has an internal
linkage let's say defined in the .c file or with a word static (by the
way definition of anything in .c imply internal linkage?). And the same
name object is defined with external linkage; let's say in the .h file.
The question is whether there is a conflict during linking/compilation
phase.
Does internal linkage override the external one?
thanks...