Which of the following is the function of the semantic analysis phase of compilation process?
Compiler phases:
Lexical analysis → Tokenization
Syntax analysis → Parsing
Semantic analysis → Type checking, type conversion, scope checking
Optimization → Loop optimization, data flow analysis
Thus type conversion belongs to semantic analysis.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.