Created
February 4, 2025 07:55
-
-
Save Fatima-progmmer/b69cf2d2c9037b43a30d6d32fe5bc3cd to your computer and use it in GitHub Desktop.
How & operator work with variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int main() | |
{ | |
int var1=11; | |
int var2= 22; | |
int var3=33; | |
cout << "1st address is "<< &var1 <<endl; | |
cout << "2nd address is " << &var2 <<endl; | |
cout <<"3rd address is " << &var3 <<endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment