Code Snippets C

#include
int main(void)
{
char str[100];
printf("Enter a string: ");
scanf("%s", str);
printf("Here's your string: %s", str);
return 0;
}