3 Main Difference Between Scanf () Vs. Gets () In C
Gets() Gets is used to receive inputs from the keyboard till encountering a newline or End Of File (EOF). The whitespace is considered as part of the input. gets() receives a string from the keyboard. scanf() has some limitations while a receiving a string of characters.There is no way to enter a multi-word string into a single variable. gets()function … Read more