#include <iostream>
using namespace std;
int main()
{
int fish = 5;
cout << &fish << endl;
int *fishPointer;
fishPointer = &fish;
cout << fishPointer << endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int fish = 5;
cout << &fish << endl;
int *fishPointer;
fishPointer = &fish;
cout << fishPointer << endl;
return 0;
}
本文标题:38 - Introduction to Pointers
本文链接:https://www.haomeiwen.com/subject/szhfnxtx.html
网友评论