Let consider the following int num 128 int p num int ref

Let consider the following:

int num = 128;

int* p = num;

int& ref = *p;

Select all true statements:

p points to num

num is a reference for p

ref is a reference for num

ref is a reference for p

A.

p points to num

B.

num is a reference for p

C.

ref is a reference for num

D.

ref is a reference for p

Solution

P point to num is true as p refers to ref and num is refers to p .

Let consider the following: int num = 128; int* p = num; int& ref = *p; Select all true statements: p points to num num is a reference for p ref is a refere

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site