What is the purpose of the void?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Air Transport Association, Lives in Montreal, Canada.
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.
2023-05-12 14:09:45
评论(499)
Helpful(122)
Helpful
Helpful(2)

Ethan Hall
QuesHub.com delivers expert answers and knowledge to you.
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.