2022年7月29日

指针和引用(pointer and reference),传值和传址

摘要: pass by adress pass by reference和pass by pointer的共同点都在于传址,都是对于对象的地址的复制,而不会对对象进行产生副本的操作。 pass by reference 和pass by pointer 的区别: 1.首先是在语法上的小区别。 2.其次更重要 阅读全文

posted @ 2022-07-29 13:46 不是小朋友L 阅读(133) 评论(0) 推荐(0)

导航