PRINIPLES OF PROGRAMMING LANGUAGES
PRACT. Implementation of pointers in C++.
#include <iostream>
using namespace std;
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;
}