Electrical and Computer Engineering
48 of 48
UAH
CPE 112
Void Functions
•A void function doesn’t return a function value, it just performs some action and then quits.
•With a void function, the function call is a separate, stand-alone statement.
•Example call from payroll program
–CalcPay (payRate, hours, wages);