+ 1
For What purpose is the return feature used? And if possible, can you tell me if the return feature changes the entire code or j
a dumb question
2 Answers
+ 12
Terminates the execution of a function and returns control to the calling function (or to the operating system if you transfer control from the main function). Execution resumes in the calling function at the point immediately following the call.
+ 4
as I learnt the Assembly which C is converted to
That is return meant to return back to where called function and then jump to next statement from the called function(abs It's instruction but that might take confuse nvm)
You might ask like "How about void? It's doesn't require return statement at all! HaHaHaHa"
Truth is last compiled program added it automatically