---
title: "What are NULL pointers ?"  
description: "What are NULL pointers ?"  
author: "Prakash nidhi Verma"  
published: 2018-07-17  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/23469/what-are-null-pointers  
category: "java"  
tags: ["c#", "java"]  
reading_time: 1 minute  

---

# What are NULL pointers ?

A pointer which is not pointing to any address or memory location is known as NULL pointer. means NULL pointer do not point any address or memory location.

NULL pointer is a pointer which do not point to any memory location or any address.It also does not contain any value.

```
#include
int main(void)
{
    Int *p=NULL:
    return 0;
}
```

## Answers

### Answer by Prakash nidhi Verma

A pointer which is not pointing to any address or memory location is known as NULL pointer. means NULL pointer do not point any address or memory location.

NULL pointer is a pointer which do not point to any memory location or any address.It also does not contain any value.

```
#include
int main(void)
{
    Int *p=NULL:
    return 0;
}
```


---

Original Source: https://www.mindstick.com/interview/23469/what-are-null-pointers

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
