A function executes the statements it contains and then terminates.
A void function executes the statements it contains and then terminates. Unlike functions that return a value, void functions perform an action but do not provide a return value to the calling function.
Answered By