Is it true that a function may have several declarations, but only one definition?
Answer: A
Correct answer: Yes
A prototype may appear in every file that calls the function, and usually does by way of a header, but the body is written once. The rule is the same as for objects: declarations may be repeated, and the definition may not.
Please log in or register to report this question.