Explore Connect Documentation
Snippets

Computing with Data

elgeish
635.4K 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

PYTHON: BEGINNER QUIZ (10 Questions)

By
Code-Parser
5,900
317

Simple Python Test

By
Jouj_
3,031
35

9a7ba

By
sheerwood
1,283
6

Python from Zero to Hero

By
toEpam
13.3K
157
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content