#include <iostream>
using namespace std;
//포인터 vs 배열
int main()
{
// .data 주소 [h][e][l][l][o][ ][W][o][r][l][d][\0]
// test1[주소] << 8바이트
const char* test1 = "Hello World";
// .data 주소 [h][e][l][l][o][ ][W][o][r][l][d][\0]
// test2 [h][e][l][l][o][ ][W][o][r][l][d][\0]
char test2[] = "Hello World";
//포인터는 주소를 담는 바구니
//배열은 같은 데이터끼리 붙어있는 바구니 모음
//다만 배열 이름은 바구니모음의 시작주소를 나타냄
//배열을 인자로 넘길 때 배열의 시작주소만 넘겨준다!
//배열을 함수 인자로 넘기면 컴파일러가 알아서 포인터로 치환한다!( char[] -> char*)
//즉 배열의 내용 전체를 넘긴것이 아니라 주소를 넘긴 것
return 0;
}