Which of the following statements about program termination is true?

A. The return statement terminates a function.
B. The abort function requires an integer as its only parameter.
C. C considers exit an abnormal program termination.
D. abort completes any pending file stream writes before terminating the program.
E. Terminating main with exit has the same effect as terminating it with return.


Answer: E

Computer Science & Information Technology

You might also like to view...

What type of device is used in the medical field to diagnose digestive problems without surgery?

A. video pill B. RFID C. wireless LAN D. barcoded medications

Computer Science & Information Technology

On the LinkedIn site, a ________ is a means for professionals to connect with one another

regarding a topic of mutual interest. A) circle B) connection C) ring D) group

Computer Science & Information Technology

________ are squares surrounding a selected object that can be used to adjust its size

Fill in the blank(s) with correct word

Computer Science & Information Technology

Case-Based Critical Thinking Questions ? Case 12-2 ? Samantha has been asked by her university to create a website that contains a list of all the subjects that the students in Computer Science and Information Science can take up during each semester in college. She wants to create a nested list that will contain an h1 heading level for a student's chosen subject stream, h2 heading level for the semester number, h3 heading level for the name of the subject, and h4 heading level for its subdivisions. Which of the following rules must Samantha use to determine the insertion of a sub division of a subject right after the subject is inserted into the list?

A. The sub-division of the subject will simply be appended to the current ordered list. B. The sub-division of the subject will beplaced in a new ordered list that is nested within the current ordered list. C. The sub-division of the subjectwill be appended to the corresponding ordered list higher up in the table of contents D. The sub-division of the subject can be placed anywhere in the list as long as it is mentioned.

Computer Science & Information Technology