In the end of my program I have an option to restart the program.
To perform this option, I need to reset some of my variables to ensure that there will not be any problems.
I want to ask if there is an interrupt or function (or else) that will be able to restart/reload the program?
If it was not clear, I'm using DOS OS (on dosbox).
You can run your program once more as child process (dont forget to reduce memory allocated by current process before running child process).