The space at the end of the format string tells scanf to eat whitespace after the first integer. It's not actually accepting a second input. When you do enter a second value, scanf sees that the whitespace is finished it returns, storing the first integer into your variable i.
The "second input" is still in the standard input stream.
Up vote 1 down vote favorite 1 share g+ share fb share tw.
C link|improve this question asked Sep 23 '11 at 21:46Bruce2,036940 87% accept rate.
When do I need to eat the whitespace. Please give an example. – Bruce Sep 23 '11 at 22:04 You don't have to eat the whitespace.
You are instructing scanf to eat any whitespace after it reads the integer. Until scanf sees either an EOF or something other than whitespace, it can't return. – David Nehme Sep 23 '11 at 22:12.
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.