reference / not reference
reference == not copy
not reference == value, address == copy
∴
call by value => value copy
call by address => pointer copy
call by reference => reference
'프로그래밍 언어 정리 > C, C++' 카테고리의 다른 글
[C/C++] 포인터와 상수 (2) | 2023.04.23 |
---|---|
[C/C++] bad_array_new_length (0) | 2023.03.27 |
[C++] NULL과 nullptr (0) | 2023.02.19 |
[C++] 함수와 const (0) | 2022.12.08 |