I wrote a code in C and it executed perfectly but at the end I got a line saying \"Program ended with exit code: 0\". What does this line signify and how do I get rid of thi
The message doesn't come from your program itself, but from the IDE (e.g. Visual Studio) that launches the program. Try launching it from the command-line or by double-clicking the .exe file.
The meaning of "exit code 0" is usually: Everything went fine, the program exited successfully. Other exit codes usually stand for aborts because of errors and the actual number gives a hint about the type of error that occurred.