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
How to sequentially represent max-heap?
What is the difference between hashmap and treemap?
What are all the classes and interfaces that are available in the collections?
How do you find the complexity of a selection sort?
How does a treemap work?
Can map contain duplicate keys?
Why is it called bubble sort?
What is a data structure? What are the types of data structures?
Why quicksort is faster?
Does hashmap allow duplicate keys?
What do you mean by free pool?
How do you represent a linked list?
How many links are there in a binary tree of N nodes?
Write the syntax in c to create a node in the singly linked list.
How efficient is bubble sort?