Vidyalelo
C++ Programming · Q28

Pointers and References in C++

Programming · C++ Programming · question 28

Q28

What does the 'sizeof' operator return when used with a pointer variable in C++?

A.
Size of the pointer variable
B.
Size of the data type pointed to by the pointer
Answer
C.
Address of the pointer variable
D.
Address of the data pointed to by the pointer

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board