Considerando a utilização de ponteiro em C++ observe o código abaixo.
| 1 | #include <iostream> |
|
2
3
4
5
6
7
8
9
10
|
#include <stdlib.h>
using std::cout;
using std::endl;
int main() {
int *yPtr, y;
y = 10;
yPtr = &y;
cout << *yPtr << " -- " << yPtr;
}
|
Tabela: Ponteiro
De acordo com a tabela acima, que alternativa apresenta informação INCORRETA?