Question:medium

Which type of grammar is mainly used in programming languages?

Show Hint

While the syntax of a language is Context-Free, the semantics (like checking if a variable was declared before use) often require Context-Sensitive analysis.
Updated On: Jul 4, 2026
  • Regular
  • Context free
  • Unrestricted
  • Linear
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0