Published By: AyaN Software
Easily or quickly find anything (all public pages) on this website. We use Google search engine service to finding our public pages or you can try Google Custom Search for better search results, thank you.
Google Custom Search
Read The Chapter
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;
Currently, we are working on other servers, but soon we update our website with new content. So, stay tuned we are back soon with new content.