Starting address C++ requires that when we declare a pointer variable, we also specify the ______ of the variable that is pointed to.
Expressions that take the address of an array name are invalid because the pointer created by the compiler is internal to the computer, not stored in memory as are pointer variables
The free storage area of a computer is formally referred to as the heap
The new and delete operators provide a mechanism for enlarging and shrinking arrays.
When an array is created, the compiler automatically creates an internal pointer constant for it and stores the starting address of the array in tis pointer.
The manipulation of addresses using pointers ___ knowledge of the actual addresses
When an offset is added to a pointer, the address in the pointer is _______.
The expression total = total + *nPt++ is a standard accumulating expression.
The advantage of using pointers rather than references is that the function call specifies that addresses are being used

Every reference to an array using a subscript can be replaced by an equivalent reference using a pointer
The addresses in pointers may not be compared
The expression *gPtr + 3 is equivalent to *(gPtr + 3).
An array name is a pointer constant, and the address stored in the pointer can be changed by an assignment statement.
Every variable has three major items associated with it: the value stored in the variable, the
First ‘The address operator is the sybmol (*)
Using a pointer requires a single lookup to retrieve the value of a variable.
When an array is passed to a function, its _____ is the only item actually passed Address One of c++ advantages is that it provides the programmer access to the address of variables used in a program
The statement numAddr = # stores the address that corresponds to the variable num in the variable numAddr
There is no relationship between array names and pointers
Dynamic storage requests for scalar variables or arrays are made _______As part of the declaration or assignment statement If *gPtrpoints to grade[0], then grade[1]may be referenced as *(gPtr + 1)
.

Pointer arithmetic does not allow for the use of relational operators
Using a pointer to find the value of a variable is called?
If grade is a single-dimension array containing five integers, and there are four bytes per integer, &grade[3] is computed as ______.
Pointers are simply _______ that are used to store the addresses of other variables
The declaration statement int *yy; declares yy to be a pointer variable used to store the address of an integer variable.
It is not necessary to declare a pointer before it can be used to store an address
The statement int& a = b; declares a as a reference variable that contains the value of an integer
*numAddr means the variable whose address is stored in numAddr
Using a reference to access the value of a variable without the need for explicitly using the indirection operator symbol(*) is referred to as a(n) ____.
Offsets may be included in expressions using pointers
The only address required by the delete operator is the ____ address of the block of storage that was dynamically allocated


You've reached the end of your free preview.
Want to read all 9 pages?
- Winter '18
- Array, Pointer