Functions are code blocks that execute where the function call is placed in the code. That could be inside the main function, inside another function that is called inside main, inside another function that is called inside another function that is called inside main, and so on.
Function prototypes serve the builder to inform a priori what types(how much allocation must be made and how must it be divided) does the function return and receive(as parameters).
Function definitions serve to specify the code to be executed, when the function call is encountered in the code.
No comments:
Post a Comment