Asked By
stefen
0 points
N/A
Posted on - 07/20/2011
While i was designing code in TURBO C i faced different errors which i was unable to solved. How can i handle those errors? What are basically different kinds of errors? Can any one can briefly describe those errors? I only know about syntax error but not its details. Do those errors differ from C++?
Types of error codes in C/C++ language
Hey,
There are two types of errors in C compile time errors and runtime errors. Compile time errors are the logical errors and syntax errors whichare indicated by the compiler after the compilation errors. The errors which occur after the compilation are runtime errors.
These errors can be elaborated in 3 types of errors in c language i.e. syntax error, segment error and linking error. Syntax error and Segment error occurs during compilation and linking error occurs during runtime.
No, the error doesn’t differ only the syntax differs. You may see some difference in the syntax error.
Thanks,
Robert.
Â