Question: I didnt understand why the output of this code can be composed of more than one chatacters? , for example , when enter 1 2

I didnt understand why the output of this code can be composed of more than one chatacters? , for example , when enter 123 as an input , why printf function shows 123 instead of 1 since getchar only reads one characther? i am at the begginer level can you explain this?
 I didnt understand why the output of this code can be

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!