A function that does not return anything has return type?
Answers
Answered by
15
Answer:
Void functions are created and used just like value-returning functionsexcept they do not return a value afterthe function executes. In lieu of a datatype, 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.
Answered by
4
Answer:
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
Similar questions