Code Snippets C

#include
#include
int main(void)
{
char str[100];
gets(str);
printf("Length is %d", strlen(str));
return 0;
}