- A To define the implementation of a function.
- B To declare the return type of a function.
- C To declare the function name and its parameter types.
- D To declare the function name and its return type.
- Share this MCQ
Answer:
C
Share this MCQ
Answer: c. To declare the function name and its parameter types.
Explanation: A function prototype is a declaration of the function name and its parameter types, but not its implementation or return type. It allows the compiler to know about the function before it is called, so that it can perform type checking and generate appropriate code.
Click me to Read more Question & Answer of Function in C LanguageShare this MCQ