+ 2

What should i do to terminate the main () while calling it from main in C language

i want my program to run atmost 5 times for that after the programm i put main function i know it will run upto infinity but i want to know how can i restrict its calling upto 5 times.. and i know it can be done by loops but i dont want to it with loops.. is there is any way to do it..!!

23rd Jun 2017, 9:06 AM
Itz_me_sandy_
Itz_me_sandy_ - avatar
2 odpowiedzi
23rd Jun 2017, 9:09 AM
Hatsy Rei
Hatsy Rei - avatar
0
It is possible but ... that feels so wroooong ! Do not do it please D:
23rd Jun 2017, 7:11 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar