Instruction

    1100465 VIEW 1 0

In C, Instructions are the commands in the program that instructs the compiler to do certain action and it gives the instruction to the compiler on how to get results of the program.

For example, Add two numbers, C compiler will not understand how to do it.

But if we write the same in terms of code / command using arithmetic operator ‘+’ and numbers or variables, it gives meaningful information to the compiler on how to get the sum.

Similarly, if  want to declare a variable, I should be able to do that using Type declaration instruction in C. In this article.

There are three types of instructions in C.

  • Type Declaration Instructions
  • Arithmetic Instructions
  • Control Instructions