Fill This Form To Receive Instant Help
Homework answers / question archive / READING a FILE till END While (fscanf(fp,"%d", &tmp) ! = EOF) Exercises 1) Create a text file on desktop as “data
READING a FILE till END
While (fscanf(fp,"%d", &tmp) ! = EOF)
Exercises
1) Create a text file on desktop as “data.txt” and write a program to read all values from 67 file and write them on screen.
2) Create a text file on desktop as “text.txt”, content of file will be a single line as “FILE’
ORGANIZATION AND ACCESS METHODS”. Write a program to read from file only “ORGANIZATION” word and print it on screen.
Data. Txt
12 15 34 67 89 100 1 54 1001 11 |
THESE EXERCISES ARE NOT HOMEWORK or ASSIGNMENT