State whether True or False? (i) Pointer arithmetic can't be done on a void…
2018
State whether True or False?
(i) Pointer arithmetic can't be done on a void pointer.
(ii) A void pointer cannot point to a class member in C++.
Answer: A. (i) – True, (ii) – True
- A.
(i) – True, (ii) – True
- B.
(i) – True, (ii) – False
- C.
(i) – False, (ii) – True
- D.
(i) – False, (ii) – False
Attempted by 316 students.
Show answer & explanation
Correct answer: A
Loading lesson…