What is the major difference between compiler and interpreter?

Answer:
compiler compiles (or changes your coding into machine language) at one go and at the end give you the list of errors on each and every line but the interpreter processes or converts the coding line by line. If there is any error in the line it will report it at the same time and the program execution cannot resume until that is retified.
First answer by Akshee. Last edit by Akshee. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 2 [Recommended].