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
Which language is best for data structures?
What is quick sort example?
Define parent node?
Difference between hashset and treeset?
What is difference between static and dynamic array?
Why is hashmap faster?
What are the different types of hash functions?
What is the default size of arraylist?
What is data structure and why we need them?
Write an algorithm through which the inserting and deleting of elements can take place in circular queue?
What is time complexity of arrays sort?
What is meant by binary tree traversal?
Define non-linear data structures?
What is hash value of a string?
Define the tree data structure.