Computer Science, asked by subhashkumarsingh515, 1 month ago

Difference between lexical error and logical error​

Answers

Answered by shreyaniadhikary
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