#include
int main ()
{
char a[100];
int b=0;

printf("문자를 입력하시오:");
scanf("%s",a);

while (a[b] != 0)//이부분
b++;

printf("%d",b);
return 0;
}

만약 hello를 입력하면 반복문에서 배열이 0이니깐 바로 참이니깐 밑으로 내려가지 않나요?
왜 0이 널값으로 대체되는지..

쉽게 설명해주시면 감사합니다 ㅠㅠ