Similarities Between Arrays and Pointers 포인터와 배열의 유사점~
구동하는 방식만 다를뿐 사실상 역할은 둘이 같다 다만 저장하는것이
주소값을 저장하는것과 그것의 진짜 값이란 것만 다를뿐이다.
What the compiler does for you is to allocate a fixed amount of memory to hold five inters and give you a pointer to the first element in that array that is identified by the name you assign the array variable. In other words, MyNumbers is a pointer to the first element MyNumber[0].
all of knowledge comes from Sams Teach Yourself C++ in One Hour a Day, 7th Edition
댓글
댓글 쓰기