What is the difference between return 0 and return 1?

In some programs we see return 0 while in others return 1 is used.What is the difference between the two?

  • Nisha
  • 18 Sep
  • 24178 Views
  • 8 Answers
Your Answer

In programming, particularly in languages like C and C++, the values returned from a program (usually from the main function) indicate the program's execution status to the operating system like in geometry dash lite

0
c programming
Practice Mock Test
c programming