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;
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 8
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Suggested prompts:
Pregunte me preguntas sobre este tema
Resumir este capítulo
Mostrar ejemplos del mundo real
Awesome!
Completion rate improved to 2.94
Features
Desliza para mostrar el menú
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;
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 8