What happens when dereferencing a nil pointer in ordinary Go code?
Answer & explanation
Answer: A runtime panic
Nil pointers do not designate valid storage for dereferencing.
Practice pointers with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
Answer: A runtime panic
Nil pointers do not designate valid storage for dereferencing.