IF ELES LOOP

  Conditional statements in c programming :

 (if ,if-else,nested if)
What is a Conditional Statement in C?
Conditional Statements in C programming are used to make decisions based on the conditions. Conditional statements execute sequentially when there is no condition around the statements. If you put some condition for a block of statements, the execution flow may change based on the result evaluated by the condition. This process is called decision making in 'C.'
In 'C' programming conditional statements are possible with the help of the following two constructs:
1. If statement
2. If-else statement
It is also called as branching as a program decides which statement to execute based on the result of the evaluated condition. 
         
             ■IF PROGRAMME LIST■


We use if statement to check a condition and if the condition is true, we run a if- block statement else we process another block of statements that is else-block statements. The else clause is optional. In the case if in the place of condition always zero and non-zero value is checked in which zero means condition false and non-zero means condition true.


 So,here is a list of programmes to help you to understand how if loop work.

Comments

Popular posts from this blog

STRUCTURE

FILE HANDLING

WHILE LOOP