+ 7
Console input and output functions
please anyone explain me the formatted and unformatted I/o functions . gets , get char() etc all are confusing me a lot .
1 Resposta
+ 5
The C library function char *gets(char *str)reads a line from stdin and stores it into the string pointed to by str. It stops when either the newline character is read or when the end-of-file is reached, whichever comes first. :3