You don't ever define what char MARK equals. It's garbage at this point.
Is "mark" always going to be the only text on a line? In that case, open the file and read line by line. String compare each line to "mark". If you find it, get the next line of text. If it's not the EOF, then that's your extracted text. You can print it, write it to another file, or do whatever you please.