Exam 10: Pointers
Exam 1: Preliminaries51 Questions
Exam 2: Problem Solving Using C++52 Questions
Exam 3: Assignment, Formatting, and Interactive52 Questions
Exam 4: Selection Structures51 Questions
Exam 5: Repetition Statements50 Questions
Exam 6: Modularity Using Functions50 Questions
Exam 7: Arrays50 Questions
Exam 8: Io Streams and Data Files50 Questions
Exam 9: Completing the Basics50 Questions
Exam 10: Pointers50 Questions
Exam 11: Introduction to Classes50 Questions
Exam 12: Adding Functionality to Your Classes50 Questions
Exam 13: Structures50 Questions
Exam 14: Numerical Methods50 Questions
Select questions type
There is a direct relationship between array names and ____________________data types.
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
pointers
If the integer s address is stored in a pointer, typically only ____ bytes of storage are retrieved when the address is used.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
C
A(n) ____ error is produced when an attempt is made to equate a reference to a constant.
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
B
The advantage of using references over using pointers is that the notation is ____.
(Multiple Choice)
4.9/5
(41)
For each array created, the array name becomes the name of the pointer constant the compiler creates for the array.
(True/False)
4.9/5
(38)
____________________ allocation of memory is useful when dealing with lists because it allows expanding the list as new items are added and contracting the list as items are deleted.
(Short Answer)
4.7/5
(44)
Explicitly passing addresses with the address operator is referred to as a pass by ____.
(Multiple Choice)
4.7/5
(43)
A pointer reference can always be replaced with a ____ reference.
(Multiple Choice)
5.0/5
(45)
When constructing references, the reference should be of the same data type as the ____________________ to which it refers.
(Short Answer)
4.9/5
(36)
When used in a nondeclarative statement, the operator placed in front of a variable s name refers to the ____________________ of the variable.
(Short Answer)
4.9/5
(36)
Any address returned by ____ can be used subsequently by ____ to restore reserved memory back to the computer
(Multiple Choice)
4.8/5
(33)
To use a stored address, C++ provides us with an indirection operator, ____.
(Multiple Choice)
4.9/5
(32)
The use of a pointer requires the computer to do a double lookup.
(True/False)
4.9/5
(43)
When used in declaring reference arguments, the ampersand refers to the data type preceding it.
(True/False)
4.8/5
(35)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)