Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Implementation of pointers in C++

PRINIPLES OF PROGRAMMING LANGUAGES
PRACT. Implementation of pointers in C++.

#include <iostream>
using namespace std;

int main () {
   int  age = 20; 
   int  *a;       

   a = &age;     

   cout << “Address of Age variable  “;
   cout << a << endl;

   cout << “Age = “;
   cout << *a << endl;

   return 0;
}

Leave a Comment