What is the difference between an IDE and a compiler?

What is the difference between an IDE and a compiler?
A. The IDE executes the code while the compiler gives a graphical environment for writing the code
B. The compiler executes the code while the IDE gives a graphical environment for writing the code
C. The compiler links the code to the respective files and the IDE takes it from there
D. The compiler and the IDE are the same thing
 
Answer: B
Explanation: According to the primary definitions of a compiler and an IDE, the job of debugging and executing a piece of code falls on the compiler, while the job of the IDE is to provide an easy to use environment for writing the code in the first place.
 

Tìm kiếm

Back
Top