| C instruction set |
| |
| Type Declaration & Input/Output Instructions |
| |
| This type of instruction is used to declare the type of variable being used in the program. |
| |
| Any variable used in the program must be declared before using it in any statement. |
| |
| This instruction is usually written at the beginning of the C program. |
| |
| Example: |
| |
| int a; |
| float re,ad; |
| char name ,des. |
| |
| Input Output instructions |
| |
| These instructions are used to supply input data to a program and obtain the output results from it. |
| |
| Example: |
| |
| printf(), scanf(). |
| |
|
| |
| |