+ 2

I really didn't understand the gets() part what's it's function??

10th Feb 2020, 7:45 PM
Hann Jk
2 Answers
+ 2
gets() function is used to scan or read a line of text from a standard input (stdin) device and store it in the String variable.
10th Feb 2020, 8:00 PM
Prathvi
Prathvi - avatar
+ 2
Gets a string from the user.
10th Feb 2020, 10:21 PM
Sonic
Sonic - avatar