Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
How gets() function works?
2 Respostas
+ 1
The C library functionĀ char *gets(char *str)Ā reads a line from stdin and stores it into the string pointed to by str
+ 1
Also, in general you shouldn't be using it. Use fgets, or, if available, gets_s.