Powered by Blogger.

Type of Error in C++



Type of Error in C++

Hello friends i am here with new concept Types of Error in C++. There are two type of error in C++

  • Run time error 
  • Compile time error

Run time error

This type of error is rise when error is generate at the program execution time. 
This error occurs while running a program by displaying the message listed below.
  • Division by 0.
  • Overflow
  • Underflow

Compile time error

This type of error is generate at the time of compilation of program.
This error occurs due to following reason.
  • Not following the grammatical rules used in declaration of identifier.
  • Not declaring an identifier used in program.
  • Not terminating statement by semicolon.
  • Not providing equal number of opening and closing braces etc.
  • These errors can be rectified by the user as it is displayed while compiling the program.



facebook
google-plus
twitter
pinterest

No comments :

Post a Comment

HTML Tutorial

images

About Sitesbay

This blog is related to Java Tutorial, C++ Tutorial, C Tutorial, Online Earning tips and more in very simple and easy way. Here i will try to give complete idea related to all new technology.

Java Tutorial

Java is Object oriented programming language, It is more secure and high performance language.

C++ Tutorial

C++ is also Object oriented programming language, It is more simple and easy to learn.

 
https://sitesbay.blogspot.com/?utm_medium=d2898efa59afcc0bc411921036e22b767ca37b09