New: cpptutorialAll contenthive-129948hive-196917krhive-185836hive-183959photographyzzansteemhive-150122hive-101145hive-166405hive-180932hive-183397hive-144064uncommonlabhive-184714hive-188619bitcoinhive-193637krsuccesshive-103599hive-145157hive-180301hive-193186hive-179660TrendingNewHotLikersrnkchr0 (35)in c • 2 years agoWhat is exit(0) and exit(1) in C/C++ | ExplainedExit Success – This is indicated by exit(0). Exit Failure – This is indicated by exit(1). Let’s understand exit(0) and exit(1) with the help of examples.