Search This Blog

Thursday, 20 August 2020

& operator use

 #include<iostream>

#include<cmath>

using namespace std;

int main()

{

int fig=10;

int eye =2;


cout<<fig<<endl;          //memry alocated and stored in fig value ios 10

cout<<&fig<<endl;              //memory allocatio0n for fig variable and

cout<<eye<<endl;           //memry alocated and stored in fig value ios 10

cout<<&eye<<endl;           //memory allocatio0n for fig variable and


return 0;



}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts