You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
char hello[] = "HELLO";
char testing[] = "TEST";
constchar* p = hello; // 상수를 가리키는 포인터// p[1] = 'T'; 에러char* const p = hello; // 상수 포인터// p = testing; 에러constchar * const p = hello // 상수를 가리키는 상수 포인터// 위 2개 모두 에러