Difference between lexical error and logical error
Answers
Answered by
1
Explanation:
Answer. Both declarations are invalid, so you are rightfully confused, but for different reasons: A lexical error occurs when the compiler does not recognize a sequence of characters as a proper lexical token. 2ab is not a valid C token.
Similar questions
Hindi,
28 days ago
Math,
28 days ago
Business Studies,
28 days ago
English,
1 month ago
Physics,
9 months ago