+ 1
How many Types of Errors in programming ?
What is the difference between compile time Error, Run Time Error, Linker Error and Exception ?
2 Answers
+ 4
4 types of error
Compile time Error
Linker Error
Runtime Error
Logical Error
Compile time error :- due to some syntactical mistakes in code, compiler throws this error
Linker error :- code is successfully compiled but linker is unable to find definition of some functions/classes/structs due to wrong imports
Runtime error :- code crashes when executing , maybe because process could not get some resources (e.g accessing invalid memory address)
Logical error :- code works but not as intended =_=
+ 6
Thanku đ