Compiling ,Linking and Executing of C application
Note:-
When we press Alt+F9 then compiler called and a compiler is responsible for following:
1) At first compiler check syntactical, grammatical errors in whole program at a time.
2) when no errors found, then compiler convert source code into object code and generate a file with extension “.obj”.
3) when we press ctrl+F9 then linker and loader execute and it convert object code into executable file with extension “.exe” and loader is responsible to load executable file in main memory i.e RAM.
4) A source file (.c) and backup file (.bak) save into specified path in working directory.
5) An object file (.obj) and executable file (.exe) save into specified path in output directory.
1) At first compiler check syntactical, grammatical errors in whole program at a time.
2) when no errors found, then compiler convert source code into object code and generate a file with extension “.obj”.
3) when we press ctrl+F9 then linker and loader execute and it convert object code into executable file with extension “.exe” and loader is responsible to load executable file in main memory i.e RAM.
4) A source file (.c) and backup file (.bak) save into specified path in working directory.
5) An object file (.obj) and executable file (.exe) save into specified path in output directory.
Comments
Post a Comment