Posted inC Language IF Statement of C Language Posted by admin August 2, 2024No Comments What is IF Statement in Conditional Statement Ans If statement is used when we want to test a condition. Syntax :-If (){//statements ; } Program :-#include<stdio.h>#include<conio.h> Void main(){Int password;Clrscr(); Printf(“entre the password”);Scanf(“%d”,&password); If(password==213){Printf(“hello gagan”);}Printf(“no entre the password\n”);Getch();} admin View All Posts Post navigation Previous Post Five Method / Concept by Conditional Statement in C LanguageNext PostIF Else Statement of C Language