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

댓글

이 블로그의 인기 게시물

[C# Winform 예제] ScreenSaver 스크린세이버 만들기

아 정말 이사람 IELTS 관한 비법 글은.. 정말 공감10000%

Vocabulary for IELTS (2000 words) advanced level.