i am not able to understand that what we are returning
What do you mean by only return?
hello @vishalsagar8010
return statements returns the pogram control back to the calling function.
since here the program return type is void. the program control will return back to calling function without any data.
if we were returning something else like int or float (return some integer)
then in that case program control will return back to calling function and the integer data will also return along with itl
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.