In C, the value after the RETURN command what that function returns to the calling routine.
For example if you declared an int some_function(int a,b), then the function is supposed to return an integer value to the calling routine. Somewhere in the some_function, the return statement will assign this value.
EDIT: RETURN doesn’t end or exit the function. It simply assigns a return value.
Latest Answers