Explore Connect Documentation
Snippets

Computing with Data

elgeish
448K views
GitHub

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: Type Conversions Next: Pointers

References

int a = 2;
int c = 3;
int &refA = a; // refA is a reference to the variable a
int b = refA; // has same effect as b = a

refA = 5; // has same effect as a = 5 

int &refC1 = c;
int &refC2 = c;  // both refC1 and refC2 refer to c
Suggested playgrounds

Beginner Python Concepts

By
a-Rye
8,907
79
0

Beginner Java Concepts

By
a-Rye
3,360
20
0

Les bases de Python pour le lycée

By
smalicet
50.8K
179
27

Python Hello World program

By
SJTECollege
11.7K
565
19
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content