I want to return nothing inside a function returning void. How would I do that?
You can do one of two things:
return;
statements where you want the function to return control to the caller. EDIT: To clarify, return;
is a statement that returns control to the caller without yielding a value.
That's basically it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.