Machine-translated by Google. Questions are authored in English.
Top

Discussion

A name space in a language such as C separates

  • A.the names declared in different source files of a program
  • B.the names of types from the names of the values they hold
  • C.the identifiers used by the compiler from those used by the user
  • D.identifiers used as tags, labels, members and ordinary variables

Answer: D

The same spelling may be a struct tag and a variable simultaneously without conflict. The compiler keeps separate tables or tags each entry with the space it belongs to. Languages differ considerably in how many such spaces they define.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.