1) Explain and fix the logical flow bug within theswitch statement. (What happens when the -h option isused?)
2) Explain and fix the argument parsing error. (Why isentrycount never zero?)
3) Fix print_result() to print results correctly and inthe same order as the words were specified on the command line.Explain your solution.
/*
About this program:
– This program counts words.
– The specific words that will be counted are passed in ascommand-line arguments.
– The program reads words (one word per line) from standard inputuntil EOF or an input line starting with a dot ‘.’
– The program prints out a summary of the number of times
PayPal Gateway not configured
PayPal Gateway not configured