W e b t u t o r i a l s

Programing Approach

Algorithm, Flow Chart

Define C

Define Programming

C - Syntax

C - Variables

C - Keywords

C - Data Types

C - Comments

Turbo C - Shortcut keys

C - Operators

Hierarchy of Operators

Ex: Arithmetic Operator

Control Structure

Control Structure - if

Ex: If condition

Ex: Inc / Dec Operator

C - loops

Ex: Loops

C - Nesting Of loops

Ex: Nested Loops

Constant Variable

C - Escape Sequence

C - Arrays 1D, 2D

C - Sorting


Character I/O Function

C - Strings

Ex: Strings

Array of Strings

C - Math Functions

C - Functions

C - Types of Functions

Storage Class

C - Header Files

C - Preprocessor

C - Pointers

C - Structures

Typedef File Handling

Command Line Argument



An algorithm is a set of rules that defines how a particular problem can be solved in finite number of steps is known as algorithm. An algorithm is a description of steps or instructions required to solve a given problem. An algorithm also specifies the sequence in which the steps are to be performed.

Example: Calculate and print the sum of 2 numbers.
Step 1: Start
Step 2: Read the two number say A and B.
Step 3: Add A and B and store in C.
Step 4: Print C
Step 5: Stop

Flow Chart

It is a pictorial representation of step by step solution of a program. There are various symbols used to make flow chart. These are:

S.No. Symbol Symbol Name Description
1. Oval Terminal use for start and stop
2. Rectangle Processing box
3. Parallelogram Input/Output Box
4. Rhombus Decision Box
5. Arrows Direction of flow
6. Circle Connector

Example: Draw a flow chart to find the sum of 2 numbers.

Advantages of Flow Chart
1. Easy to understand
2. Concentrate on the logic of the problem
3. Provide effective help in debugging and maintaining a program.

Last Updated: 31-Aug-2018