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

Discussion

Property of external variable to be accessed by any source file is called by C90 standard as:

  • A.external linkage
  • B.external scope
  • C.global scope
  • D.global linkage

Answer: A

Correct answer: external linkage

Linkage is the term for whether a name refers to the same object across translation units; scope is where a name is visible within one. A file-scope variable has external linkage - the same object however many files declare it.

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

Post your comment

Please log in or register to post a comment.