C Programming
CodeBlocks Installation
Basic Structure
Tokens
Data Types
Variables & Constants
C Operators
Inputs and Outputs
Type Casting
Conditional Statement
Switch Case
If Else
If-else Exercise 1
If-else Exercise 2
Loops In C
For Loop
While Loops
Do While Loop
Loop Exercise 1
Loop Exercise 2
Array
String
Array Exercise 1
Array Exercise 2
Flowcharts
Pointers
Functions
Function Exercise 1
Function Exercise 2
Flowchart
Flowchart: Flowchart is a graphical or diagrammic representation of a program or an algorithm. It is very helpful for the programmers. It helps the programmers to understand the basic consept of any particular program or an algorithm so that it becomes easier to write the codes and explaining to the others.Different symbol are used to explaining the codes, So have a look on the following table:
Symbol | Purpose | Description |
---|---|---|
Terminal (Stop/Start) | This is used to represent the start or the end of a flowchart . | |
Flow line | This is used to indicate the flow of a flowchart. | |
Processing | This is used for different Arithmetic operations, variable declare and excuting Statement. | |
Input/Output | This is used for Input or Output data representation. | |
Desicion | This is used for representing the Desicion. | |
On-page Connecto | This is used to join different flow line and etc. |
See the following example:
#include<stdio.h>
int main(){
int a, b,c;
scanf("%d",&a;);
scanf("%d",&b;);
c = a+b;
printf("Result= %d",c);
return 0;
}