int main(){ char str[100];gets(str);char *s = str;int count =0;while(*s){ count++;s++;} printf("Length of the string is %d\n",count);return 0;}