What is gets() function?

2 years ago
C Programming

The gets() function allows a full line data entry from the user. When the user presses the enter key to end the input, the entire line of characters is stored to a string variable. Note that the enter key is not included in the variable, but instead a null terminator \0 is placed after the last character.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions