What is Logical err…
 
Notifications
Clear all

What is Logical errors?

2 Posts
3 Users
1 Likes
577 Views
0
Topic starter

What is Logical errors?

2 Answers
1

A logic error is classified as a type of runtime error that can result in a program producing an incorrect output

0

A logic error is an error in a program’s source code that gives way to unanticipated and erroneous behavior. A logic error is classified as a type of runtime error that can result in a program producing an incorrect output. It can also cause the program to crash when running.

 

Logic errors are not always easy to recognize immediately. This is due to the fact that such errors, unlike that of syntax errors, are valid when considered in the language, but do not produce the intended behavior. These can occur in both interpreted and compiled languages.

A logic error is also known as a logical error.

Share: