No products in the cart.

What do u mean by exit …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

What do u mean by exit function?
  • 1 answers

Ritesh Kumar 6 years, 9 months ago

The exit function, declared in the standard include file STDLIB.H, terminates a C++ program. The value supplied as an argument to exit is returned to the operating system as the program's return code or exit code. By convention, a return code of zero means that the program completed successfully. System_CAPS_ICON_note.jpg Note You can use the constants EXIT_FAILURE and EXIT_SUCCESS, defined in STDLIB.H, to indicate success or failure of your program. Issuing a return statement from the main function is equivalent to calling the exit function with the return value as its argument.
http://mycbseguide.com/examin8/

Related Questions

What is alu
  • 1 answers
Write a program for swapping two numbers
  • 1 answers
Write a program for swapping two numbers?
  • 0 answers
Define packages
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App