- Engineering
- Computer Science
- lets say we have 2 text files called hellotxt and...
Question: lets say we have 2 text files called hellotxt and...
Question details
let's say we have 2 text files called hello.txt and hello2.txt
hello.txt contains...
hi
my
name
is
justin
and hello2.txt contains
my justin
so hello.txt conains all the words and hello2.txt containts "ranges" for hello1.txt
write a C program such that it will print all the words from hello.txt between ranges given in hello2.txt
use fscanf
so for this case it should print name is only
Solution by an expert tutor
