Basic C programming | Coursera Community
Coursera Header
Solved

Basic C programming

  • 3 December 2018
  • 1 reply
  • 220 views

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 3
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