c++引用与指针的区别

c++引用与指针的区别  ★ 相同点:     1. 都是地址的概念;     指针指向一块内存,它的内容是所指内存的地址;引用是某块内存的别名。   指针的权威定义: In a declaration T D where D has the form * cv-qualifier-seqopt D1 And the type of the identifier in the declaratio
相关文章
相关标签/搜索