Program of If Statement

The if statement is the most simple decision control statement.

Syntax

            if(condition)
                    {
                               statement-block
                    }

Program



Output
 



 Introduction to C 

 Types of Errors in C  

 Data types in C  

 Print Hello in C

 Arithmetic Operators in C




Learn Python to Click here