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

Discussion

Functions in C are ALWAYS:

  • A.Internal
  • B.External
  • C.Both Internal and External
  • D.External and Internal are not valid terms for functions

Answer: B

Correct answer: External

A function in C has external linkage by default: its name is visible to every other file linked with it. That is why two files cannot define functions of the same name, and why static is used to confine a function 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.