Discussion :: Declarations and Initializations
-
When we mention the prototype of a function?
Answer : Option B
Explanation :
A function prototype in C or C++ is a declaration of a function that omits the function body but does specify the function's name, argument types and return type.
While a function definition specifies what a function does, a function prototype can be thought of as specifying its interface.
Be The First To Comment