What is a preprocessor, what are the advantages of preprocessor?

A preprocessor processes the source code program before it passes through the compiler.

1- a preprocessor involves the readability of program

2- It facilitates easier modification

3- It helps in writing portable programs

4- It enables easier debugging

5- It enables testing a part of program

6- It helps in developing generalized program