Electrical and Computer Engineering
2 of 22
UAH
CPE 112
Functional Decomposition
with void Functions
•A void function does not return a function value, nor is it called from within an expression.
•Any module can be coded as a function, it’s generally done to make the program easier to understand.
•A void function looks like the main function except that the function heading uses void rather than int as the data type of the function and there is no return statement.
•