Errors In C-Programming

in programming •  10 months ago 

Hello!

Let us learn about errors in programming.

istockphoto-1406022661-1024x1024.jpg

There are three types of errors :

[1] Syntax Error : Syntax errors are like spelling mistakes in your programming code when you don't follow the rules of programming language, such as, missing a semicolon, or a bracket.
The are caught by the compiler and are prevented from running until they are fixed.

[2] Logical Error : Logical errors are like using wrong word in a sentence, in your code it occurs if expected output is not produced.
These errors are caused by incorrect algorithm in the code and can be only fixed by the programmer.

[3] Runtime Error : Runtime errors occur when code encounter and expected situation during execution, such as, dividing by zero or exceeding time limit.
These errors are usually detected by operating system.

program-942487_1280.jpg

program-6944163_1280.jpg

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!