Basic C programming | Coursera Community
Coursera Header
Solved

Basic C programming


Badge +1
i m a beginner in c programming..i want to know details about the function "scanf" with some example.
icon

Best answer by Gordon 11 December 2018, 21:56

If you're learning C, you have (or ought to have) a copy of the book by Kernighan and Richie.
Page 157 is the start of a section on "Formatted Input - scanf". You should start there.

If you don't have K&R, I'd say "order it today".
Back in the early 1980s, I kept a box of copies of K&R in my office to give to all new programming hires.

View original

1 reply

Userlevel 2
Badge +1
If you're learning C, you have (or ought to have) a copy of the book by Kernighan and Richie.
Page 157 is the start of a section on "Formatted Input - scanf". You should start there.

If you don't have K&R, I'd say "order it today".
Back in the early 1980s, I kept a box of copies of K&R in my office to give to all new programming hires.

Reply

    Cookie policy

    We use cookies to enhance and personalize your experience. If you accept or continue browsing you agree to our cookie policy. Learn more about our cookies.

    Accept cookies Cookie settings