The ________ function causes the entire program to terminate, regardless of which function or control mechanism is executing.

A) terminate()
B) return()
C) continue()
D) exit()
E) break()


D) exit()

Computer Science & Information Technology

You might also like to view...

Assuming that all four of the following functions are defined, which one will be called by the function call square( 23.4 )?

a. template< typename T > T square( T num ) b. template< typename T1, typename T2 > T1 square( T1 num1, T2 num2 ) c. int square( int num ) d. double square( double n

Computer Science & Information Technology

What will be displayed after the following statements execute?

``` int funny = 7, serious = 15; funny = serious % 2; if (funny != 1) { funny = 0; serious = 0; } else if (funny == 2) { funny = 10; serious = 10; } else { funny = 1; serious = 1; } cout << funny << " " << serious << endl; ``` a. 7 15 b. 0 0 c. 10 10 d. 1 1 e. None of these

Computer Science & Information Technology

An array called aList contains integers 5, 3, 7, 2, 8. What are the contents of aList after the function call workOnArray (aList, 4), if and the definition of workOnArray is:

int workOnArray (int a[], int n) { if (n == 1) return a[0] + 3; else { a[n] = workOnArray (a, n-1); return 7; } } a) 5, 3, 8, 8, 8 b) 5, 6, 10, 5, 11 c) 5, 3, 8, 7, 7 d) 8, 6, 10, 5, 11

Computer Science & Information Technology

A(n) ____ is a method that is activated when the trigger occurs.

A. exploit handler B. incident handler C. episode trigger D. event handler

Computer Science & Information Technology