can we call main with other function?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

can we call main with other function??

can we make main with arguments??

15th Sep 2018, 3:11 PM
priyesh
priyesh - avatar
4 Answers
+ 3
pz0375 why don't you try into code playground ? 😀
15th Sep 2018, 3:23 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 2
int main(){ cout<<"text"<<endl; main(); } you can use jest like this but it is infinite loop
15th Sep 2018, 3:24 PM
estifanos
estifanos - avatar
0
yes you can
22nd Sep 2018, 2:46 PM
Yogesh
Yogesh - avatar