string cmparison

Posted 02 January 2013 - 11:06 PM

I have to search a specific string in a file.Here i am using 'strcmp' function but its not working properly.when am compiling it in linux using gcc it does not shows any error.i couldn't catch the mistake.