Tagged: types of instructions

Instructions in C Programming Language 21

Instructions in C Programming Language

There are three types of instructions in C. They are as follows: 1) Type Declaration Instruction 2) Arithmetic Instruction 3) Control instruction Type Declaration instruction is used to declare the type of variables used in C. Any variable we want to use in the program must be declared before using it. This declaration is done using Type declaration instruction. This declaration is done at the beginning of the main() function. Example:

Arithmetic instructions are used to perform arithmetic operations on variables and constants. Here we will learn some new terms. These are operands and operators. The variables and constants...