Can someone help me with this program. QUESTION 12 What do the calls to exit(...
ID: 1732547 • Letter: C
Question
Can someone help me with this program.
QUESTION 12 What do the calls to exit(...) do? When exit(O) and exit(1) are called, what receives these values and what is done with them? the exit0 function is obsolete. There is no longer any such function in the C++ libraries the exit0 function stops the program. The value is passed to the operating system which uses it for an error code The exit) function temporarily stops the program, and sends the argument to the operating system which uses it for an error code. The operating system restarts the program after fixing the error. the exit0 function stops the program. The value is discarded. QUESTION 13 1. Write a function that calculates the area, a, of a circle when its circumference c is given. The formula is: a = ? 2. Write a function that returns the radius, r, of the circle, given the circumference c. The formula is: r 3. Write a C++ program that accepts the value of the circumference from the user, calculates the radius and area and displays the calculated values. Use the functions written in 1 and 2Explanation / Answer
12)
The exit() function temporarily stops the program, and sends the argument to the operaing system which uses it for an error code. The operating system restarts the program after fixing the error.