Question: hello, havent covered getchar ( ) and EOF codes yet and have to substitute getchar ( ) to scanf but cant did. how can rewrite

hello, havent covered getchar() and EOF codes yet and have to substitute getchar() to scanf but cant did. how can rewrite while part without ruin whole code? how can we take an input of binary with integer? because if we input 010 in an integer, then it will be stored as 10 and not 010, same goes with any input which stars with 0 for eg.000,001,010,011
hello, havent covered getchar ( ) and EOF codes

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 Programming Questions!