0 0 votes Compiler Design + – Deepalitrapti 1.4k views answer comment Share Follow Print See all 10 Comments 10 10 Comments reply MiNiPanda commented Aug 24, 2018 reply Follow flag I am not getting any syntax error in any of them :( 0 0 replyShare Shaik Masthan commented Aug 24, 2018 reply Follow flag in option C char c='x' semi-colon is missing.... doesn't it create syntax error? 0 0 replyShare Shaik Masthan commented Aug 24, 2018 reply Follow flag @Deepalitrapti please add your questions in the form of text but not with the images.... due to finding duplicates is easy and one more thing is we can understand clearly your questions due to images are low clarity 0 0 replyShare MiNiPanda commented Aug 24, 2018 reply Follow flag Shaik Masthan yes right..i did not notice that :P 0 0 replyShare Shaik Masthan commented Aug 24, 2018 reply Follow flag @MiNiPanda i have doubt in Option A:- with out declaring C, he used it.. therefore what type of error it is? and which phase it identified? 0 0 replyShare MiNiPanda commented Aug 24, 2018 reply Follow flag It is a semantic error.. This phase catches errors like type mismatch, variable defined earlier or not, function parameter checking. 1 1 replyShare Shaik Masthan commented Aug 24, 2018 reply Follow flag any standard reference for it? 0 0 replyShare MiNiPanda commented Aug 24, 2018 reply Follow flag https://www.tutorialspoint.com/compiler_design/compiler_design_semantic_analysis.htm 2 2 replyShare srestha commented Aug 24, 2018 reply Follow flag and what about double initialization of a in option B)? 0 0 replyShare Shaik Masthan commented Aug 24, 2018 reply Follow flag it is also semantic error. 0 0 replyShare Please log in or register to add a comment.