Consider the following context-free grammar, which describes C-style function declarations involving pointers:
Function → Type id (Arguments)
Type → id
Type → Type*
Arguments → ArgList
Arguments → ε
ArgList → Type id , ArgList
ArgList → Type id
Identify the problems with the grammar and offer solutions.You may introduce new nonterminals if you wish, but do not change any rules. Show the resulting grammar below.