write down a program to search an element in a file std.txt?
Answers
Answered by
1
While loop is used for reading one word at a time from the file till the end of file, strcmp will return 0, if word read by fscanf matches with word you want to search for. I haven’t tested it, but I think it should work.
pushpendra0302:
plz pic of program argent need
Answered by
1
This is the c++ program to find the element
Attachments:
Similar questions