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
What is a vector class?
Why is data structure needed?
Which data structures are used in bfs and dfs algorithm?
What do you mean by overflow and underflow?
Explain binary tree traversals?
Why do we need searching algorithms?
How many sorting techniques are there?
Is it possible to increase size of array?
What is the order of selection sort?
what are the applications of Linked Lists?
What are the Differences between map and hashmap?
List the abstract operations in the set?
What is the procedure to insert into a sorted array?
What are the objectives of studying data structures?
List some applications of tree-data structure?