Mega Code Archive

 
Categories / C++ / Pointer
 

Null Pointers

#include <iostream> using namespace std; int main () {    int* intPointer;    intPointer = NULL;    cout << "The value of intPointer is " << intPointer << endl;    return 0; }