There are many programming languages to program a computer. The most popular and basic ones are Basic, C, C++, Pascal, Java, and Assembler. Machine language is a collection of instructions, which controls the computer’s hardware. Many programming languages are compilers and some programming languages are interpreters. Compilers translate the entire program into machine language before executing any of the instructions while interpreters proceed through a program by translating and then executing single or small groups of instructions such asline by line or statement by statement.
Actually, both compilers and interpreters are computer programs. That means C and C++ are computer programs that accept the inputs and generate an output. They accept source codes as inputs and generate object codes as an output.
Comments