Theory of Computation and Compilers - Semantic Analysis

27. Which of the following features cannot be captured by CFG?

  • Option : D
  • Explanation :
    it is because, it is equivalent to recognizing wew, where the first w is the declaration and the second is its use, wew is not a CFG.
Cancel reply
Cancel reply