what is the role of the keyword void in declaring function.
Answers
Answered by
23
Explanation:
When used as a function return type, the void keyword specifies that the function does not return a value. When used for a function's parameter list, void specifies that the function takes no parameters. ... You cannot declare a variable of type void.☺✌
Answered by
2
Answer:
When used as a function return type, the void keyword specifies that the function does not return a value. When used for a function's parameter list, void specifies that the function takes no parameters. ... You cannot declare a variable of type void·············
Explanation:
Similar questions