What is the result of dereferencing a null pointer?

Practice Questions

Q1
What is the result of dereferencing a null pointer?
  1. It returns zero
  2. It causes a segmentation fault
  3. It returns a random value
  4. It is valid and returns a pointer

Questions & Step-by-Step Solutions

What is the result of dereferencing a null pointer?
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely