Read the strings given in the command line first,then read the string from file using fscanf function.Then,compare the string with keyword using strcmp function.If it matches,then increment the count of the keyword by one.