Is main func can be used as recursive function ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is main func can be used as recursive function ?

7th Jun 2017, 7:07 PM
Dharshan Kumar
Dharshan Kumar - avatar
4 Answers
7th Jun 2017, 7:22 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
Yea. Although, you would still need to pass a string array in the parameters.
7th Jun 2017, 7:16 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
It's only special in that every program finds/executes the main first. So, that's your starting point in the program.
7th Jun 2017, 7:20 PM
Rrestoring faith
Rrestoring faith - avatar
0
yea . I know that but few persons said main func is a spcl func and cannot be used as a recursive func
7th Jun 2017, 7:17 PM
Dharshan Kumar
Dharshan Kumar - avatar