Exam 6: User-Defined Functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The function main is always compiled first,regardless of where in the program the function main is placed.

(True/False)
4.9/5
(25)

Which statement below about prototypes and headers is true?

(Multiple Choice)
4.8/5
(29)

A(n)____________________ parameter s a formal parameter that receives a copy of the content of the corresponding actual parameter.

(Short Answer)
4.9/5
(36)

The program that tests a function is called a(n)____________________ program.

(Short Answer)
5.0/5
(34)

The heading of the function is also called the ____.

(Multiple Choice)
4.7/5
(31)

To use the predefined function tolower,the program must include the header file ____.

(Multiple Choice)
4.7/5
(31)

Given the following function: int next(int x) { \quad Return (x + 1); } What is the output of the following statement? Cout << next(next(5))<< endl;

(Multiple Choice)
4.9/5
(35)

Which of the following function prototypes is valid?

(Multiple Choice)
4.7/5
(31)

A(n)____________________ parameter is a formal parameter that receives the location (memory address)of the corresponding actual parameter.

(Short Answer)
4.8/5
(46)

A function prototype is ____.

(Multiple Choice)
4.8/5
(44)
Showing 41 - 50 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)