what is function and advantage
Answers
Answered by
3
function is a routine or a set of instruction or code that performs a specific task and can be processed independently.
When the program passes control to a function the function perform that task and returns control to the instruction following the calling instruction. The most important reason to use the function is make program handling easier as only a small part of the program is dealt with at a time.
When the program passes control to a function the function perform that task and returns control to the instruction following the calling instruction. The most important reason to use the function is make program handling easier as only a small part of the program is dealt with at a time.
Similar questions