adspace
What are the differences between the function prototype and the function defi-nition?
Answer Posted / Sanjay Sharma
A function prototype declares the function's name, return type, parameters (if any), and argument types. It is declared before the function definition in the code. The function definition provides the implementation of the function, including the function body and logic. It should follow the prototype.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers