1 2 3 4 5 6 7 8 9
#include<stdio.h> #include<string.h> void main() { char word[5]={'h','a','p','p','y'}; int result; result = strlen(word); printf("%i", result); }
1
5