What do you mean by void function?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at Twitter, Lives in San Francisco, CA
Void functions are created and used just like value-returning functions except they do not return a value after the function executes. In lieu of a data type, void functions use the keyword "void." A void function performs a task, and then control returns back to the caller--but, it does not return a value.
2023-05-10 14:09:55
评论(499)
Helpful(122)
Helpful
Helpful(2)

Luna Ramirez
QuesHub.com delivers expert answers and knowledge to you.
Void functions are created and used just like value-returning functions except they do not return a value after the function executes. In lieu of a data type, void functions use the keyword "void." A void function performs a task, and then control returns back to the caller--but, it does not return a value.