Hello sir I am totally confused in return type I mean where should I use int and where should i use void as function .
So here I am attaching the screenshot so sir clear my doubt.
Hello sir I am totally confused in return type
hi @gamingzone123a_2a8bc985f4c429d5,
you need to write int when u r returning some integer value from the function
else keep it void
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.