What do you mean by: Syntax Error, Logical Error, Runtime Error?

Answer Posted / prathap reddy

A logic error (sometimes called a semantic error) is a bug
in a program that causes it to operate incorrectly, but not
to terminate abnormally (or crash). A logic error produces
unintended or undesired output or other behavior, although
it may not immediately be recognized as such

A syntax error ( IPA: /ˈsɪntæks ɛrə(ɹ)/ ) refers to an
error in the syntax of a sequence of characters or tokens
that is intended to be written in a particular programming
language.For compiled languages syntax errors occur
strictly at compile-time.

A runtime error is a computer error that appears in the
form of a message box consisting of a particular code along
with its corresponding definitions. Usually, a user will
notice that the computer becomes noticeably slow before a
runtime error appears.


Is This Answer Correct ?    29 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to show the insertion and deletion of an element in an array using the position

496


Write the postfix form of the expression: (a + b) * (c - d)

598


Differentiate stack from array?

510


What are the complexity of binary search?

443


Can you please explain the difference between array_name and &array_name?

546






How long does it take to master data structures and algorithms?

655


How do you sort pseudocode?

492


Write a recursive c function to calculate the height of a binary tree.

491


Is treemap sorted?

521


Why is bubble sort stable?

482


What do you mean by selection sort?

482


What do you mean by quadratic probing?

556


Why do we use hashmap?

529


What is bubble sort technique?

494


Does treeset allow null?

465