What is Compile and Executing in Programming?
Compilation: Compilation makes sure that the source code follows Syntax. Compilation error will be given if any code doesn’t follow Syntax. Execution: Execution is the process of executing the .exe file of windows or .extension file of different Os. The code which has been converted to binary code will be executed to run the Application.
Computers understand machine language composed of 0 & 1. Humans understand alphabet that form words. There are two ways of trsnslating computer language (readable to humans) into machine language (understood by computers). Compiler or Interpreter convert programs (c++, java etc) into EXECUTABLE code so the computer can perform the functions in the program. This is a very basic questio n that need some more explanation. I suggest you watch a video in KhanAcademy that has a fully explain this. https://www.khanacademy.org/