1 1 vote A programmer writes the following invalid C statement: $\verb|int total_val#ue =10;|$ .Assuming the compiler adheres to a standard compilation model, which component is primarily responsible for detecting the error and what is the classification of this error? Semantic Analyzer; Semantic Error Lexical Analyzer (Scanner); Lexical Error Lexical Analyzer (Scanner); Syntactic Error Parser (Syntax Analyzer); Syntactic Error Compiler Design goclasses compiler goclasses-cs-dpp goclasses-cs-dpp-day-163 goclasses-compiler-practice-questions + – GO Classes 319 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote B JAY_THAKAR answered Jan 10 JAY_THAKAR comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes option B because , lexical analyzer also checks that identifiers with help of identifier rules so , it is lexical error Aman Shukla answered Mar 21 Aman Shukla comment Share Follow 0 reply Please log in or register to add a comment.