Publish By: AyaN Software
Easy or quickly find anything (all public pages) on this website. We use Google search engine service for find our public pages. You can try Google Custom Search for deep search results, thank you enjoy our services.
*Please donate us (Donation Camp).
Show All Courses
C language Pointer Definition, Declaration or Expressions - The variable that stores the address of another variable is what in C++ in called pointer. Pointer are a very powerful feature of the language that has many uses in lower level programming.
/* Description: print 'a' address values step by step */
using namespace std;
int n=10, *ptr;
ptr = &n;
cout << "Address of n variable: " << &n << endl;
cout << "Address stored in pntr variable: " << ptr << endl;
cout << "Value of *pntr variable: " << *ptr << endl;
Free Course Online Gaming