Hello everyone. Sorry if this is a stupid question.
Let's say that I have a program which consists of many different branches of functions. Is there any simple way to make a statement or set a condition to return to the top of main (essentially restarting the program) from a separate function without using a loop in main?
I read up on the goto statement but apparently this only works within the same function. I am looking for something similar that can hop across functions I suppose.