Why does ScanF take two inputs from string : <p>The first ScanF takes both inputs when I type a character and an integer is expected.</p>

<p>see image below:<a href="https://i.stack.imgur.com/DgvyH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DgvyH.png" alt="enter image description here"></a></p>

<p>As you can see when I type "55ape" for ScanNum_A it sets ScanNum_B = 0.
Why does this happen?</p>
