Before dereferencing a pointer it is essential to assign value to the pointer.

Options
- True
- False


CORRECT ANSWER : True

Discussion Board
C++ - Pointers

The above statement is true. Before dereferencing a pointer it is essential to assign value to the pointer. If we attempt to dereference an uninitialized pointer, it will cause runtime error by referring to any other location in memory.

Prajakta Pandit 01-27-2017 06:43 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement