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 are data and data types?
Can constructor be static?
What are linked lists used for?
Define probing?
What is pointer in data structure?
How does a hashtable work?
Write program for Quick sort ?
What is worst case complexity algorithm?
What is the advantage of circular linked list?
What is time complexity of arrays sort?
Is map a data structure?
What is breadth first tree?
Define the term “percolate down”?
Explain the priority queue?
Which sort is stable?