Get link Facebook X Pinterest Email Other Apps LEC:14,POINTERS | POINTER to POINTERPOINTER TO POINTERSource code:/* POINTER: A pointer however, is a variable that stores the memory address as its value.*/#include<iostream>using namespace std;int main(){ /* int a=56; int* b=&a; cout<<"the address of a : "<<b<<endl; cout<<"The value of a : "<<a; cout<<"the address of a : "<<&a<<endl; */ int m=77;// data item int* n=&m;// pointer that store the adress of m int** p=&n;// pointer that store the adress of another pointer n cout<<"The value of m :"<<m<<endl;// 77 cout<<"The Address of m :"<<&m<<endl;//address cout<<"The Address of m :"<<n<<endl;//address cout<<"The Address of n : "<<p<<endl; cout<<"The value of n : "<<*p<<endl; cout<<"The value of m using **p : "<<**p; return 0;} Get link Facebook X Pinterest Email Other Apps Comments
PROJECT: HTML | CSS | JS Hey Guys Here is My project on WEB:- Landing Website | Completely Responsive | Free source code : https://codepen.io/swatimaurya/full/yLXyKrg Read more
RunwayWithCode Document Projects C++ Java Web development Queries For any Doubts and Queries, Join our Telegram Group :) Click Here for joining.:) Read more
web development Lectures Web Development Lectures👇👇 LEC 3: Goto : N OTES V IDEO LINK LEC 2: Goto : N OTES V IDEO LINK LEC 1: Goto : N OTES V IDEO LINK For any queries join our telegram group click to join PPT of OOPS Read more
Comments
Post a Comment