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
The advantage of using pointers rather than references is that the function call specifies that ____________________ are being used.
(Short Answer)
4.7/5
(27)
Pointers to functions are possible because function ____ are themselves pointer constants.
(Multiple Choice)
4.9/5
(38)
As each variable is defined in a program, sufficient storage for it is assigned from a pool of computer memory locations made available to the compiler.
(True/False)
4.9/5
(44)
The ____________________ statement restores an allocated block of storage back to the free storage area (the heap) while a program is running.
(Short Answer)
4.9/5
(47)
References are used almost exclusively as formal function parameters and ____ types.
(Multiple Choice)
4.7/5
(29)
The ____ consists of unallocated memory that can be allocated to a program, as requested, while the program is running.
(Multiple Choice)
4.9/5
(27)
When an array is created, the compiler creates an internal point constant for it automatically and stores the array s ____ in this pointer.
(Multiple Choice)
4.8/5
(40)
The C++ ____ operator releases a block of bytes reserved previously.
(Multiple Choice)
4.8/5
(31)
If a character s address is stored in a pointer, only ____ byte(s) of storage would be retrieved when the address is used.
(Multiple Choice)
4.9/5
(31)
Access to multidimensional ____________________ can be made using pointer notation.
(Short Answer)
4.9/5
(34)
Like all variables, pointers can be initialized when they are ____________________.
(Short Answer)
4.9/5
(30)
Pointers must be ____________________ before they can be used to store an address.
(Short Answer)
4.8/5
(33)
The asterisk ( * ) symbol is also called the ____ operator.
(Multiple Choice)
4.9/5
(31)
In contrast to implicitly passing addresses with ____, addresses can be explicitly passed using pointers.
(Multiple Choice)
4.8/5
(38)
The addresses in pointers can be compared by using any of the C++ ____________________ operators.
(Short Answer)
5.0/5
(28)
To display the address of a variable, you can use C++ s address operator, ____.
(Multiple Choice)
4.8/5
(43)
Expressions taking the address of an array name are invalid because the pointer the compiler creates is ____________________ to the computer.
(Short Answer)
4.8/5
(34)
A double typically requires the retrieval of ____________________ bytes of storage.
(Short Answer)
4.8/5
(31)
A computer uses an array s ____ to calculate the array element s address based on both the array s starting address and the amount of storage each element uses.
(Multiple Choice)
5.0/5
(38)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)