C Strings- #3 Reading string input from user/fgets() and puts() #c #shorts @tamilprogramming0630
How to read string input from a user?
1.using scanf()- reads a string until whitespace
2.using fgets()-reads the line of text upto given size.
puts () - to print the string