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

Discussion

Functions have the static qualifier by default.

  • A.true
  • B.false
  • C.Depends on the compiler
  • D.Depends on the standard

Answer: B

Correct answer: false

Functions have external linkage by default, not static - which is why a function defined in one file can be called from another. Writing static before a function is what confines it to its own file.

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

Post your comment

Please log in or register to post a comment.