+ 2
Please explain me difference between echo command and return command?
instead of return command we can use echo then what is the use of return command. I did not understand return command please help me friends.
1 Answer
+ 8
echo use to display the text.
return use in function to tell what is the output of this function or it can use to stop the progress of the function