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
Define balance factor of a node in avl tree?
Define a tree?
What is the difference between hashmap and arraylist?
What is data structure definition?
Explain the uses of matrix with an example?
Is treeset synchronized?
What is a list in data structure?
What is difference between map and hashmap?
Define double hashing?
What is the difference between array list and vector list?
What is an object array?
Does linkedhashset allow null values?
Treemap orders the elements on which field?
What are the goals of data structure?
What is the time complexity of arraylist and linked list?