Flow Symbol of C language

FlowChart Symbol of C language

A flowchart is a type of diagram that represents an algorithm, workflow or process.The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows. This diagrammatic representation illustrates a solution model to a given problem.

1) The Oval.

2) The Rectangle.

3) The Arrow.

4) The Diamond.


FlowChart Example

Flowchart is a graphical representation of an algorithm. Programmers often use it as a program-planning tool to solve a problem. It makes use of symbols which are connected among them to indicate the flow of information and processing.

#include <stdio.h>    
int main(){  
    int a, b, sum;  
    printf("Enter first number : ");
    scanf("%d", &a);
    printf("Enter first number : ");
    scanf("%d", &b);
    sum = a + b;
    printf("Sum is : %d",sum);    
    return 0;   

What is a flowchart in C language?

1) The pre processor is responsible to convert pre processor directives into their respective values. The pre processor generates an expanded source code.

2) Expanded source code is sent to compiler which compiles the code and converts it into assembly code.

3) The assembly code is sent to assembler which assembles the code and converts it into object code. Now a simple.obj file is generate.

4) The object code is sent to linker which links it to the library such as header files. Then it is convert into executable code. A simple.exe file is generate.