Suva Programming
Blog about C++ and other programming source code.
Pages
Home
Privacy Policy
Disclaimer
Saturday 13 June 2020
CPP Program to implement pointer
Source code :
#include<include>
using namespace std;
int main ()
{
int x,*y,**z;
x=10;
y=&x;
z=&y;
cout<<"z = "<<**z<<endl;
cout<<"y = "<<*y<<endl;
cout<<"x = "<<x<<endl;
}
Program Output :
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment