Intro To C++/Pointing to Data

Intro To C++
Reading & Writing Files Pointing to Data C++,Peeking Advanced topics
Category:Book:Intro To C++#Pointing%20to%20Data

What is a pointer?

A Pointer is a variable that contains a memory address of other variable. Pointer variable can be declared like the other variable. But, the data type is suffixed by a "*" character.

#include <iostream>;
using namespace std;

int main{

 return 0;
}

Playing with pointer


Reference,an object in a program

Pointer & Reference

#include <iostream>;
using namespace std;

int main{

 return 0;
}
Category:Book:Intro To C++