Close sidebar

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?

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

Comment
Practice Mock Test
c programming