understanding C namespaces
https://stackoverflow.com/questions/3793952/understanding-c-namespaces
StackOverflowGeeksforGeeksStackOverflow https://stackoverflow.com/questions/379395…understanding C namespacesViewed 18k timesQuestionAnswer42edited Sep 25, 2010 at 13:31C has four different name spaces for identifiers: Tags (names of structures, unions and enumerations). Members of structures and unions (these have a separate namespace per structure/union). All other identifiers (function names, object names, type(def) names, enumeration constants, etc). Yes, function names and typedef names share the same name space. No conflict, because the compiler will use scope rules (for function or object n...
Tags (names of structures, unions and enumerations).
Members of structures and unions (these have a separate namespace per structure/union).
All other identifiers (function names, object names, type(def) names, enumeration constants, etc).
Yes, function names and typedef names share the same name space.
No conflict, because the compiler will use scope rules (for function or object n...
DA: 77 PA: 37 MOZ Rank: 75