Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are data and data types?

956


Can constructor be static?

870


What are linked lists used for?

900


Define probing?

1100


What is pointer in data structure?

813


How does a hashtable work?

823


Write program for Quick sort ?

1041


What is worst case complexity algorithm?

840


What is the advantage of circular linked list?

755


What is time complexity of arrays sort?

914


Is map a data structure?

869


What is breadth first tree?

947


Define the term “percolate down”?

950


Explain the priority queue?

906


Which sort is stable?

894