Return Statement

Return Statement

return statement is used to transfer program’s control from called function to calling function, it’s secondary task is to carry value from called function to calling function.

If function’s return type is void, you can use return only to return program’s control to the calling function, and if there is a return type you will have to return same type of value to the calling function.

Syntax: 
return;
Or
return (value)
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz