-
Consider line number 3 of the following C program :
Identify the compiler’s response about this line while creating the object-module.
-
- No compilation error
- Only a lexical error
- Only syntactic errors
- Both lexical and syntactic errol
- No compilation error
Correct Option: C
There are no lexical errors for C because all the wrong spelled keywords would be considered as identifiers until the syntax is checked. So the compiler would give syntax errors.