Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

What is run-time error, logical error and syntax error @Rohangrr

OpenStudy (anonymous):

: Syntax error - The errors which are traced by the compiler during compilation, due to wrong grammar for the language used in the program, are called syntax errors. For example, cin<<a; // instead of extraction operator insertion operator is used. Run time Error - The errors encountered during execution of the program, due to unexpected input or output are called run-time error. For example - a=n/0; // division by zero Logical Error - These errors are encountered when the program does not give the desired output, due to wrong logic of the program. For example : remainder = a+b // instead of using % operator + operator is used. Source :cppforstudies

OpenStudy (anonymous):

Thankskyou

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!