Question: In C++, a pointer is a variable storing a pointer variable a variable storing a memory cell address the same thing as a pointer variable

In C++, a pointer is

a variable storing a pointer variable
a variable storing a memory cell address
the same thing as a pointer variable
a memory cell address

The "pointer to" operator in C++ is

->
*
<-
ptr

Which of the following statements correctly assigns a pointer variable called point?

point = #
point = *num;
point = 23456;
*point = num;

Which of the following DOES NOT happen when a pointer variable is declared

the space is given a name
space for the variable is allocated in memory
the space is set up so that it can store a pointer
a pointer value is assigned to that space

If 'point' is the name of a pointer variable that contains the address of variable 'num' then we can say

'num' points to 'point'
'point' and 'num' both point to each other
'num' contains the address of 'point'
'point' points to 'num'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!