// Dangerously gets a string from user using scanf #include int main(void) { char s[5]; printf("s: "); scanf("%s", s); printf("s: %s\n", s); }