Question 10Asked in UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)

Which of the following is the correct value returned to the operating system upon the successful completion of a program?

  1. A0
  2. B1
  3. C− 1
  4. DProgram do not return a value.
Show answerHide answer

Correct answer: (A) 0

Explanation

0 is the identifier for a program to inform the operating system (OS) about proper running of a program. Each of the non-zero value signifies unique error doing running of a program.

From UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions)

This is question 10 of UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.