Thursday, 4 January 2018

Type of errors in C


Error is an abnormal condition whenever it occurs,execution of program stops,It can be classified as:

1) Compile time error

2) Run time error



1) Compile time error :-


  • Pre-processor error
  Here I missed "i" in first instruction then got error as below













  • Translator 

Here I missed ";" then got error as below










  • Linker

2) Run time error :-

  • Segmentation fault
  • Bus Error