+ 6
Is return acts like a break ... ??
I donno correctly but heres the code, read on the comment inside it https://code.sololearn.com/cgXNHDbEQ8YZ/?ref=app
6 Respuestas
+ 9
if you have return in function function return what is specified and nothing after that in fuction would not be executed
+ 5
👍👍👍
+ 3
it Isn't a break,but causes a break!
+ 2
these answers are all not true !
e.g. destructors are called after return check the code example in appendix...
there is a whole science going on after the return.
https://code.sololearn.com/cVkwl9eia714/?ref=app