Which phase in the compiler design performs data type checking?

Which phase in the compiler design performs data type checking?

  1. a) Lexical analysis
  2. b) Syntax analysis
  3. c) Semantic analysis
  4. d) Code generation

From the BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 29 of 123.

More from this paper