types of errors in c++
Answers
Answered by
2
The most common errors can be broadly classified as follows
1. Programming errors
These are generated when typographical errors are made by users.
2. Compiler errors
These are errors detected by the compiler that make the program un-compilable.
3. Linker error
These are errors generated when the executable of the program cannot be generated. This may be due to wrong function prototyping, incorrect header files.
4. Execution error
These errors occur at the time of execution. Looping and arithmetic errors falls
under this category.
5. Logical errors
These errors solely depend on the logical thinking of the programmer and are easy to detect if we follow the line of execution and determine why the program takes that path of execution.
1. Programming errors
These are generated when typographical errors are made by users.
2. Compiler errors
These are errors detected by the compiler that make the program un-compilable.
3. Linker error
These are errors generated when the executable of the program cannot be generated. This may be due to wrong function prototyping, incorrect header files.
4. Execution error
These errors occur at the time of execution. Looping and arithmetic errors falls
under this category.
5. Logical errors
These errors solely depend on the logical thinking of the programmer and are easy to detect if we follow the line of execution and determine why the program takes that path of execution.
Rraftaar:
good job
Answered by
0
me avi sirf c-programming padh raha hu usse related pucho
Similar questions
Biology,
8 months ago
Physics,
8 months ago
Social Sciences,
1 year ago
English,
1 year ago
Math,
1 year ago