Gets() in c program
I did not understand why is char; gets(a); is written what is the meaning of it?
gets() is function used to read the line of stings from standard input into argument charecter array a. Check this by gets(a); puts(a); //outputs what ever read by gets() into a. gets() is a non-standard deprecated function. So recommend that avoid using gets() instead use fgets()..