When used as a function return type, the void keyword specifies that the function doesn’t return a value . When used for a function’s parameter list, void specifies that the function takes no parameters.
When used as a function return type, the void keyword specifies that the function doesn’t return a value . When used for a function’s parameter list, void specifies that the function takes no parameters.