This is a typical Embedded C Interview Questions. There are three error types in C language – Runtime, Compile and Logical.

Runtime errors may occur when the program is being run, usually due to illegal operations performed.

Compile errors occur during the compilation of the program. Compile errors are of two types- Syntax and Semantic.

Logical errors occur in the output due to errors in the logic applied in the C program.

BY Best Interview Question ON 06 Feb 2019