Okay, heres basically how it works-
1. The preprocessor reads all the includes/imports, macros, and other directives.
2. The compiler takes the source, and translates it into assembler language.
3. The assembler takes the code generated by the compiler, and makes an assembly listing with offsets, and then stores this in object files.
4. The linker links together these object files into a single file (EXE file)
There's no such thing as 'Executable Code'! The source code is compiled and the final result is an executable.
linker.....>(giving Linlk to one another)its a set of instruction/code that ll link all the source code/file to executable file.Loader ....> (Loading file for execution)it loads all the source files into an executeable file.....
The compiler converts source code (the stuff the programmer wrote and is human readable) and converts it to machine code that the computers CPU can understand. The conversion is used to make an executable program. The compiler can also make libraries but libraries are not executable by them selves.
The compiler converts source code (the stuff the programmer wrote and is human readable) and converts it to machine code that the computers CPU can understand. The conversion is used to make an executable program. The compiler can also make libraries but libraries are not executable by them selves.
Source code is a sequence of executable instructions written in a particular language. Pseudo code is a sequence of non-executable instructions. It is also called algorithm written in plain English
In general you do not. Nearly all executable files are coded in a computer programming language, and then compiled into executable files. So to modify an executable, you would need the source code for the program, you would modify the source code and then recompile into a NEW version of the executable. Linux does provide for an executable script file, but these are more scripts than executable files.
A programming language is a symbolic language that a computer programmer uses to write computer program source code. Source code is non-executable code and must be translated into machine code. A computer can be programmed to perform this conversion and thus produce the required machine code.
A programming language is a symbolic language that a computer programmer uses to write computer program source code. Source code is non-executable code and must be translated into machine code. A computer can be programmed to perform this conversion and thus produce the required machine code.
Compilers are needed to convert human readable source code into machine executable code.
A linker combines one or more object files and possible some library code into either some executable, some library or a list of error messages. A loader reads the executable code into memory, does some address translation and tries to run the program resulting in a running program or an error message (or both).
To convert source code (.c file) to an executable (.exe) file you have to use a compiler, which is a translator of source code to machine code.
Compiler.