← Quiz: C Introduction: all 10 questions
Quiz: C Introduction · Question 4 of 10
What does return 0; in main mean?
What does return 0; in main mean?
- A.Print zero
- B.The program finished successfully
- C.Restart the program
- D.An error occurred
Answer & explanation
Correct answer: The program finished successfully
By convention 0 means success to the operating system.
Can you get the rest right without peeking?
Take the timed Quiz: C Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →