DEV Community

Mohammed Salah
Mohammed Salah

Posted on

C++ 4th code (The variable label in Memory )

 #include<iostream>
 using namespace std; 
 int main()
 {
 float n ; 
 cout<<"\n \t \n\t This code to appear variable Memory position in
 Memory "<<endl ; 
cout<< "\n \t \n \t Enter any Number   : " ; 
cin >> n ; 
cout<<"----------------------------------\n\n \n \t \t \t " ; 
cout<<" you have Enter the number = " <<&n<<endl; 
cin.get();
return 0; 
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more