What do you mean by: Syntax Error, Logical Error, Runtime Error?
Answer Posted / bipin from utkal university
syntax error is the poor understanding of the language ie
grammatical error
Ex printf("bbsr")
this is syntax error because every c statement should
terminate by semicolon
logical error is the poor understanding of the program ie
program is grammatcally correct but you will get unexpected
result due to incorrect in program logic
Ex: suppose our program is add two integer.In program you
have written a-d instead of a+b.so you will get unexpected
output
runtime error is the bug(error) at run time.
Ex something divided by zero, 44/0
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
How would you use qsort() function to sort the name stored in an array of pointers to string?
What are the properties of an algorithm?
What is entryset in hashmap?
Does hashmap allow duplicate keys?
What is the minimum number of queues needed when implementing a priority queue?
What is hashing with example?
Describe avl tree or height balanced binary search tree.
What is an externalizable interface?
List the basic operations carried out in a linked list?
Differentiate between singly and doubly linked lists?
What method is used to place a value onto the top of a stack?
Define back edge?
Is a hashset ordered?
What are red-black trees?
How many types of linked lists are there?