Examples of Errors During Compilation Stages (Lexical, Syntax, Semantic)
Lexical Errors Example Description/Explanation int n%mber = 5; Illegal character % in identifier. floar x = 5.0; Misspelling of keyword float as floar. int 1stNumber = 1; Identifiers cannot start with a digit. #incldue <stdio.h> Misspelling of directive #include. double price = 45.6L; Incorrect use of float literal suffix (L is for long int). char* … Continue reading Examples of Errors During Compilation Stages (Lexical, Syntax, Semantic)
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed