logo

Crowdly

FILE *fp1 = fopen("states.txt", "r"); while ((ch = fgetc(fp1)) != EOF)     ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

FILE *fp1 = fopen("states.txt", "r");

while ((ch = fgetc(fp1)) != EOF)

          putchar(ch);

fclose(fp1);

Write the equivalent Unix command for the above code.

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!