when we write void as a return type of a function, what does it mean? it should not return anything then why we write return; to stop this
Void return type of a function
@sktg99 A void function performs a task, and then control returns back to the caller–but, it does not return a value. You may or may not use the return statement, as there is no return value.