dorisspears6699 dorisspears6699
  • 13-07-2019
  • Computers and Technology
contestada

The _________ function causes a program to terminate.

Respuesta :

ExieFansler ExieFansler
  • 22-07-2019

Answer:  exit

Explanation:

exit function terminates the calling process without executing the rest of the code.exit function do some cleaning before termination like buffer flushes etc.

exit(0) exits the program without any error message.

syntax:- void exit(int return code)

You have to include stdlib.h header file in c if you want to use exit function.

Answer Link

Otras preguntas

Express 512 as a power of 2. a) 2*8* b) 27*7* c)29*9* d) 210*10*
Describe the role water and oxygen play in the human body?​
PLZ HELP ME! Find the helping, linking, and action verb(s) in the words below. Not all types of verbs will be used. 1) were not purchased 2) felt sad 3) have ne
What are some activities/hobbies you were involved in as a result of the pandemic?
What weapon did von steuben introduce that was most important
Stoplight A changes color every 45 seconds and Stoplight B changes color every 80 seconds. Both stoplights changed color 60 seconds ago. After how many seconds
all of the following are risk factors for HCV transmission EXCEPT
please do a and b and explain
Determine the location of the last significant place value by placing a bar over the digit. 1.8040 = 2. 0.0300=
110 students go on a school trip. Each student needs a bottle of water. How many packs are needed?