0

Can recusion occur in void data type function?

28th Apr 2018, 5:12 AM
Jason
2 Respuestas
+ 6
Yes
28th Apr 2018, 5:32 AM
Rusty.Metal
0
Recursion simply means that the function calls itself. So yes, it can: https://code.sololearn.com/cEp12246LlmN/#cpp
28th Apr 2018, 5:27 AM
Chris
Chris - avatar