Statements in C language | Different types of Statements in C programming Language
- Expression Statements.
- Compound Statements.
- Selection Statements.
- Iterative Statements.
- Jump Statements.
There is no need of any semicolon at the end of Compound Statement.
Example for Compound Statement
c = a + b;
printf(“value of C is : %d n”,c);
You May like : Swapping The Nibbles of Character.
Selection Statements are used in decisions making situations we will look about selections statements in Later Tutorials. Here is the few examples of Selection statements
These are also Called as Loops. If we want to Execute a part of program many times we will use loops.We will going to explain each and Every loop in Detail in Later Tutorials. Here is the List of Basic loops in C language.
- for loop.
- while loop.
- do-while loop.
These are Unconditional statements Jump statements are useful for Transfer the Control one part of program to other part of Program there are few Jump Statements in C
All these Selection and Iterative and Jump Statements are Keywords and all are Lower Case Characters.