asked
Let's learn C and C++ at the same time - Doodle Doodle's C/C++
37 – Section 4 (Functions) Comprehensive Problems
Written on
·
233
0
char로 문자배열을 받은 뒤 for문에서
i<sizeof(arr)로 하면 전체 문자열을 불러오는 게 아닌 건가요?
sizeof로 만들 때 문자열의 중간까지만 공백이 제거된 상태로 나와서 질문드립니다.
Answer