Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
C++ How to Program
Quiz 6: Functions and an Introduction to Recursion
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
A reference parameter:
Question 22
Multiple Choice
Overloaded functions must have:
Question 23
Multiple Choice
Which of the following is not included in a function's activation record?
Question 24
Multiple Choice
An activation record will be popped off the function call stack whenever:
Question 25
Multiple Choice
Call-by-reference can achieve the security of call-by-value when:
Question 26
Multiple Choice
If a set of functions have the same program logic and operations and differ only in the data type(s) each receives as argument(s) then a(n) __________ should be used.
Question 27
Multiple Choice
Given the following function template template <typename T> T maximum(T value1, T value2) { If (value1 > value2) { Return value1; } Else { Return value2; } } What would be returned by the following two function calls? Maximum(2, 5) ; Maximum(2.3, 5.2) ;
Question 28
Multiple Choice
When an argument is passed-by-value, changes in the called function __________ affect the original variable's value; when an argument is passed call-by-reference, changes in the called function __________ affect the original variable's value.
Question 29
Multiple Choice
If the function int volume(int x = 1, int y = 1, int z = 1) ; is called by the expression volume(3) , how many default arguments are used?
Question 30
Multiple Choice
Labels are the only identifiers with:
Question 31
Multiple Choice
The unary scope resolution operator is used:
Question 32
Multiple Choice
In regards to default arguments, which of the following is false?
Question 33
Multiple Choice
The inline keyword:
Question 34
Multiple Choice
Type-safe linkage is ensured by:
Question 35
Multiple Choice
Which of the following statements creates a uniform_int_distribution object for producing values in the range -10 to 20?
Question 36
Multiple Choice
Which of the following is true of function templates?
Question 37
Multiple Choice
[C++11]-Which of the following statements is false?
Question 38
Multiple Choice
Which of the following is false?
Question 39
Multiple Choice
What happens when two blocks, one nested inside of the other, both declare variables with the same identifier? (Assume that the outer block declares its variable before the opening left-brace of the inner block.)