Publish 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
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;
We have a YouTube channel for live game streaming purposes, the channel name is "NightHawk". You can visit our gaming channel and support us, Thank you
Free Course Online Gaming