volume_mute
In C++, pointer variables and references
publish date: 2022/06/04 01:10:00 GMT+10
volume_mute
Two pointer variables are aliases when they point to the same memory location. The same is true for reference variables.
Correct Answer
True
Explanation
This kind of aliasing is simply a side effect of the nature of pointers and references. When a C++ pointer is set to point at a named variable, the pointer, when dereferenced, and the variable’s name are aliases.
Reference
Concepts of Programming languages, 10th ed