scanf() function is used to get input from user. It scans the value for the specific data type.
It uses various format to scan different variable, for example %d is the format to scan int values, %f is the format to scan float values, %c is is the format to scan character values and %s is the format to scan string of characters from user.
Though, we can scan multiple values in a single scanf() function, but it is suggestable use separate scanf() for each variable.
Follow me @
🌐 http://www.raviroza.com/
✍️ / ravi.oza.it
✍️ / raviozait
📹 / ravioza101
LinkedIN : www.linkedin.com/in/ravi-oza
#RaviROza #CLanguage #Turboc