What is a nil pointer?
A nil pointer (also known as a null pointer) is a term used in computer programming to describe a pointer variable that does not point to a valid memory address or object. Instead, it points to a special reserved value, often represented as "nil," "null," or "nullptr," depending on the programming language.