#include <iostream>
#include <string>
using namespace std;
int main() {
string food = "Pizza"; // 变量声明
string* ptr = &food; // 指针声明
// 引用:通过指针输出 food 的内存地址
cout << ptr << "\n";
// 解引用:通过指针输出 food 的值
cout << *ptr << "\n";
return 0;
}