gets − get a string from the console
reads a string into from the console. The string is terminated by a newline character, which is replaced in by a null character. returns its argument. puts(3spp), getc(3spp), returns the constant pointer upon end of file or error.