The two reasons to write a program in C rather than machine language are as follows:
- Easier to Write Program
- Machine Independence
1. Easier to Write Program
C language is a high-level language. It is easier to write programs in C than machine language. The programs in machine language consist of 0 and 1. It is very difficult to write, modify and manage programs in machine language. The instructions of C are similar to English language. So it is preferable to write program in C rather than machine language.
2. Machine Independence
C language provides machine independence. It means that the programs written in C language can be executed on different types of computers.
Example:
For example, a program written in C can be executed on Intel processors and Motorola processors. That is why it is preferable to write program in C language rather than machine language.