+ 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 .

10th May 2018, 3:42 AM
Priyanka Thakur
Priyanka Thakur - avatar
1 Réponse
+ 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
10th May 2018, 4:28 AM
Gonzalo Caira Aguilar
Gonzalo Caira Aguilar - avatar