It is an input function which is used to read a string from
the keyboard. It is the function of stdio.h header file. The gets() function
reads the whole string including spaces until the enter is not pressed.
When
enter is pressed, it put a null character (\0) at the end of string. The null
character in string indicates the end of the string.
Sy:
gets(string_varable);
No comments:
Post a Comment