In C++, no name is associated with the pointer data type.
The statement int **table; declares table to be a pointer to a pointer.
Which of the following arithmetic operations is allowed on pointer variables?
The address of operator is a unary operator that returns the address of its operand.
Pointer arithmetic is the same as ordinary arithmetic.
In C++, you declare a pointer variable by using the ____ symbol.
Variables that are created during program execution are called static variables.
In C++, new is a reserved word; however, delete is not a reserved word.
What is the output of the following code?
x = 12;
p = &x;
cout << x << ", ";
*p = 81;
cout << *p << endl;
a. 12, 12
b. 12, 81
c. 81, 12
d. 81, 81
In a ____ copy, two or more pointers of the same type point to the same memory.
If p is a pointer variable, the statement p = p + 1; is valid in C++.
In C++, a function cannot return a value of the pointer type.
The statement delete p; deallocates the dynamic variable pointed to by p.
The member access operator arrow is used to access a class component via a pointer.
The operator new allocates memory at run time and also initializes the allocated memory.
In a(n) ____ copy, two or more pointers have their own data.
The only operation allowed on a pointer variable is the assignment operation.
The code int *p; declares p to be a(n) ____ variable.
In C++, pointer variables are declared using the reserved word pointer.
What is the value of x after the following statements execute?
int x = 25;
int *p = &x;
*p = 46;