COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
what is compiler
A
compiling text program
B
error showing
C
compiling error showing
D
syntax error only showing
Explanation: 

Detailed explanation-1: -Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors in the code, or, more unusually, due to errors in the compiler itself. A compilation error message often helps programmers debugging the source code.

Detailed explanation-2: -A compiler error happens when you try to compile the code. If you are unable to compile your code, that is a compiler error. If you compile and run your code, but then it fails during execution, that is runtime. In your example, discountVariable is of declared type DiscountSale and saleVariable is of another type.

Detailed explanation-3: -Syntax error. Internal error. Logical error. Symantic error. 29-Mar-2023

There is 1 question to complete.