Which of the following features cannot be captured by CFG ?
A. | syntax of if-then-else statements |
B. | syntax of recursive procedures |
C. | whether a variable is declared before its use |
D. | matching nested paranthesis |
Answer : D Explanation : it is because, it is equivalent to recognizing wew, where the first w is the decleration and the second is its use, wew is not a CFG. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |