← Quiz: Command-Line Arguments in C: all 10 questions
Quiz: Command-Line Arguments in C · Question 7 of 10
Which is the conventional exit code for success?
Which is the conventional exit code for success?
- A.0
- B.1
- C.-1
- D.255
Answer & explanation
Correct answer: 0
0 means success; any non-zero value signals failure to the shell or calling script.
Can you get the rest right without peeking?
Take the timed Quiz: Command-Line Arguments in C quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →