void state_is_argument_function_parameter(int begin,int end){ extra_argument= begin-end; here we reduce the state here i just explain you in next problem i gave you real example}