Identify the correct concept described as: the compiler phase that checks source code for meaningful correctness, such as type consistency.
- A. Token
- B. Symbol table
- C. Semantic analysis ✓
- D. Lexeme
Correct answer
C. Semantic analysis
Explanation
Semantic analysis refers to the compiler phase that checks source code for meaningful correctness, such as type consistency.