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 element?
Which is better hashmap or hashtable?
Does hashmap allow duplicate keys?
Is python good for freshers?
What exactly is a thread?
Why do we use dynamic arrays?
Will it create any problem if we add elements with key as user defined object into the treemap?
Are the expressions arr and &arr same for an array of integers?
What is the meaning of anonymous array? Explain with an example?
Does hashtable allow null values?
How do you determine if a binary tree is height balanced?
What does enum do?
Why is sorting and classifying important?
Differentiate linear from a nonlinear data structure?
What is integer max_value?