Home » C++ Programming » References » Question
  1. Pick out the correct statement.
    1. lvalue equivalent to the value at the pointer address
    2. The NULL pointer dereference occurs where a pointer that is expected to be a valid address but instead is equal to the memory address
    3. The NULL pointer dereference occurs where a pointer that is expected to be a valid address but instead is equal to NULL
    4. All of above
    5. None of these
Correct Option: C

The NULL pointer dereference occurs where a pointer that is expected to be a valid address but instead is equal to NULL



Your comments will be displayed only after manual approval.