Types of error codes in C/C++ language

Asked By 0 points N/A Posted on -
qa-featured

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++?

SHARE
Answered By 0 points N/A #85764

Types of error codes in C/C++ language

qa-featured

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.

 

Related Questions