C instruction set

Introduction of instruction set In C Programming Language

In previous section we discuss about various types of C constants, variables and keyword. Now in this section we will discuss about how they are grouped to from instructions. There are basically four types of instruction in C. which has been described separately. 1. Type Declaration Instruction 2. Input Output instruction 3. Arithmetic Instructions 4. …

Introduction of instruction set In C Programming Language Read More »

What are the Type Declaration & Input/Output Instructions In C Programming Language?

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 …

What are the Type Declaration & Input/Output Instructions In C Programming Language? Read More »

What is Arithmetic Instructions In C Programming Language?

These types of instructions are used to perform arithmetic operations between constants and variables. Some of the arithmetic operators are: +, -, * and /. Example: int a; float b, deta, alpha, gamma, beta; a=500; b=0.0056; deta=alpha*beta/gamma+0.5*2/5; There are three types of arithmetic statements: 1. Integer mode arithmetic statement: In this type of arithmetic statement …

What is Arithmetic Instructions In C Programming Language? Read More »

What is Control Instructions in C Programming Language?

These types of instructions are used for controlling the sequence of execution of various statements in C program. It determines the ‘flow of control’ in a program. There are four types of control instructions in C: 1. Sequence Control Instructions The sequence control instruction ensures that the instructions are executed in the same order in …

What is Control Instructions in C Programming Language? Read More »