Question: what does the following statement do? 1. while((c=getchar()!=EOF) putc(c,fl); 2. whille ((m=getw(fl))!=EOF) printf(%5d,m);

what does the following statement do?

1.    while((c=getchar()!=EOF)

       putc(c,fl);


2.   whille ((m=getw(fl))!=EOF)

printf("%5d",m);

Step by Step Solution

3.55 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In these statements we are using the following functions 1 getchar This function will read a cha... View full answer

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!