What is the difference between Compiling and Executing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between Compiling and Executing?

16th Feb 2017, 7:11 PM
Shaik Mahmood Sameer
Shaik Mahmood Sameer - avatar
3 Answers
+ 2
Compilation is a process of checking the syntax, if thr syntax is ok, it will convert to bytecode incase of java and In C/C++, converting to machine readable format while the Execution is running the bytecode/machine instructions intended get the output.
27th Feb 2017, 11:56 AM
Sowmithra Kumara
Sowmithra Kumara - avatar
+ 1
compilation process converts source code into machine code while as execution means that machine code is ready for processing.
14th Apr 2017, 4:58 PM
Kamran Riyaz
Kamran Riyaz - avatar
0
In general sense compiling means converting source code into executable code. During compilation syntax checking and converting java source code into byte code is done. While executing the executable code is simply executed and output is displayed.
16th Feb 2017, 7:19 PM
Varun Moghe
Varun Moghe - avatar