Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
How gets() function works?
2 Réponses
+ 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.