type namespace in C
问题 I've read in SO about different namespaces in C where the type are defined, e.g. there is a namespace for Structs and Unions and a namespace for typedefs. Is namespace the exact name for this? How many namespaces exist in C? 回答1: see 6.2.3 from http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf 6.2.3 Name spaces of identifiers If more than one declaration of a particular identifier is visible at any point in a translation unit, the syntactic context disambiguates uses that refer to