address (&x)
📍 Returns the memory address where a variable lives
Address-of operator in C++.
中文对照 · Chinese
📍 查出这个变量盒子住在内存第几号房间
在变量名前加 `&` 即可拿到它的内存地址。
Code example
cout << &x;Explore 100 bilingual word cards →
Address-of operator in C++.
📍 查出这个变量盒子住在内存第几号房间
在变量名前加 `&` 即可拿到它的内存地址。
cout << &x;Explore 100 bilingual word cards →