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 is a vector element?

898


Which is better hashmap or hashtable?

920


Does hashmap allow duplicate keys?

1011


Is python good for freshers?

987


What exactly is a thread?

922


Why do we use dynamic arrays?

868


Will it create any problem if we add elements with key as user defined object into the treemap?

912


Are the expressions arr and &arr same for an array of integers?

1005


What is the meaning of anonymous array? Explain with an example?

1198


Does hashtable allow null values?

876


How do you determine if a binary tree is height balanced?

952


What does enum do?

922


Why is sorting and classifying important?

844


Differentiate linear from a nonlinear data structure?

1066


What is integer max_value?

881