Null Pointer
#include <stdafx.h>
#include <iostream>
#include <string>
using namespace std;
/* A pointer that is assigned NULL is called a null pointer. */
int main()
{
int *ptr=NULL;
cout << "Address hold by ptr: "<< ptr;
return 0;
}
Output:
Address hold by ptr:00000000