char *hello = "hello";
int hello_len = strnlen_s(hello, sizeof hello);
std::cout << hello_len << std::endl; // 4
std::cout << sizeof(hello) << std::endl; // 4
char hello2[] = "hello";
int hello_len2 = strnlen_s(hello2, sizeof hello2);
std::cout << hello_len2 << std::endl; // 5
std::cout << sizeof(hello2) << std::endl; // 6
이거 하면 사이즈 왜 다르게 나오나요?
*hello로 하고 출력해보면 중간에 끊기는데 이유가?
곱셈이 포인터 말하는거임??????????? 이런 쉣!