Difference between compiler and interpreter

CompilerInterpreterExecutes the whole program in a single runExecuted the program line by lineCreated object file(.obj) while compilingNo object file is createdFaster execution of statements as compared to interpreterSlower execution of statements than compilerError gets displayed only after compiling the program Error gets displayed at the time of writing the instructions Examples: C, C++, JAVA etc.Examples: … Continue reading Difference between compiler and interpreter