+ 2
Can there be recursive use of main?
what are its advantages and disadvantages....
2 Answers
+ 2
You are never going to need main to be recursive. If you want recursion, then just create another function; don't go through unnecessary hassle.
+ 1
From what I read you can try to do it, but I don't think it'll work, main is not just any kind of function. What can happen is that it won't even compile (the better case) or it does compile, but something undefined can happen, it probably won't do what you would like it to. You can try it If you want to, but I wouldn't recommend it.