填空题:(8分)Like a pointer, a reference is an alias for an object, is us
(8分)Like a pointer, a reference is an alias for an object, is usually implemented to hold a machine of an object, and does not impose performance overhead compared to pointers, but it differs from a pointer in that:
• You access a reference with exactly the syntax as the name of an object.
• A reference always refers to the object to which it was .
• There is no "null reference," and we may assume that a reference to an object.
答案:
第1空:address ||
第2空:same ||
第3空:initialized ||
第4空:refers ||
• You access a reference with exactly the syntax as the name of an object.
• A reference always refers to the object to which it was .
• There is no "null reference," and we may assume that a reference to an object.
答案:
第1空:address ||
第2空:same ||
第3空:initialized ||
第4空:refers ||