What is the Difference between Scanf(),gets() and getchar()? [closed]?

Up vote -4 down vote favorite share g+ share fb share tw.

I would like to know the difference among following functions in C Language. Scanf gets getchar Thanks, c link|improve this question asked Jan 28 at 4:07Lucifer5,3362830 88% accept rate.

6 This is something you could trivially discover by looking at any C reference manual. I suggest you pick up a copy of this book – Marc B Jan 28 at 4:10 getchar exists in all versions of the C standard, gets exists only in versions up to and including C99, and Scanf doesn't exist in any version of the standard. – Keith Thompson Jan 28 at 5:21.

It'll make more sense for you to read for yourself. % man 3 scanf % man 3 gets % man 3 getchar.

Not getting your sir – Lucifer Jan 28 at 4:15 @Lucifer: Sorry, I was assuming you were on a system with man installed. I've added hyperlinks. – Johnsyweb Jan 28 at 4:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions