#include #include int main() { char *buf = malloc(8); fgets(buf, 8, stdin); printf("%s\n", buf); return 0; }