title: C program to replace a pattern "find" with "replace" in a textfile as input and output file should have the replaced pattern
body: <p>i searched on net but not getting the exact idea of how to do it as the code m being able to write is just for a single occurence of the pattern but if there are different lines of occurence of that pattern??</p>