Saturday, December 20, 2008

The purpose of different types of instructions

In the previous topic we have learnt about what are the different types of instructions, now in this blog we will see what are the purposes of those different types of instructions:

1.
Type declaration instruction
-
It is used to declare the type of variable used in C program.
2.
Input/output instruction
-
It is used to input data from the user and obtain the output result to the desired location.
3.
Arithmetic instruction
-
It is used to perform arithmetic operation between constants and variables.
4.
Control instruction
-
It is used to perform sequence of execution of various statements used in a C program.

No comments:

Post a Comment

Please give your valuable comments or queries if you fell its helpful or if you like the contents of the site. Thanks...