Consider the following grammar :
S →(S) | ε
Consider an instant where while parsing the string “(())”
Top of stack: S
Input pointer: )
The operation performed at this point is?
- S is popped off
- S is kept as it is.
- S is kept as it is and the input pointer is incremented
- None of these.