Features
If we write some new data to a pointer or a link, then this will also be reflected in the variable to which they point.
Pointers:
123456int a = 2; int *pa = &a; cout << a << endl; *pa = 50; cout << a;
References:
123456int a = 2; int &ra = a; cout << a << endl; ra = 50; cout << a;
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 8
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Awesome!
Completion rate improved to 2.94
Features
Swipe um das Menü anzuzeigen
If we write some new data to a pointer or a link, then this will also be reflected in the variable to which they point.
Pointers:
123456int a = 2; int *pa = &a; cout << a << endl; *pa = 50; cout << a;
References:
123456int a = 2; int &ra = a; cout << a << endl; ra = 50; cout << a;
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 8