How to remove this line in language C : “Program ended with exit code: 0”

后端 未结 3 1258
野性不改
野性不改 2021-01-14 07:01

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

3条回答
  •  抹茶落季
    2021-01-14 07:39

    Basically what it means is that the program ran without any error. A 0 usually says that the program executed properly. Any nonzero number denotes some problem. Use text editors such as emacs or vim etc. and compile and execute your program.

提交回复
热议问题