0
What is the difference between function and subroutine?
2 Answers
+ 2
a function Is somthing that you can call at almost anytime during the execution, a subrutine is a function that gets executed in the background and it Is trigger by the main function
0
a function sometimes gets executed in the backgrounds too. a subroutine can be called at almost anytime too. I don't get the difference? I am not right?