Answer to Question #168750 in C++ for Kwame Hayford

Question #168750

1.How do you understand the term Language “Processing System”

2. How does a program using a C++ compiler be executed on a host machine?



1
Expert's answer
2021-03-03T18:35:13-0500

Language Processing System

The steps undergone by a source code to get converted in to machine code is as shown in below diagram.




Preprocessor :

  • It is considered to be a part of the compiler.
  • It deals with macro processing ,file inclusion, augmentation etc..
  • In c program before writing a program we usually include library files in preprocessor it includes these library files with the source code.this is called file inclusion.


Compiler :

  • compiler translates a source code into target code.


Assembler :

  • An Assembler translate assembly language program to machine code.
  • Assembly language consist of instruction sets to deal with memory directly.

Linker/Loader:

  • Linker is a computer program that links and merges various object files together in order to make an executable file.
  • Loader is a part of operating system and is responsible for loading executable files into memory and execute them.





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS