IF Statement In C In Hindi/ IF Statement हिंदी में|

हेलो Friends, इस ब्लॉग पोस्ट(IF Statement In C In Hindi) में मैं आपको IF Statement के बारे में बताने वाला हूँ |यह एक conditional statement है | इसमें किसी condition को test करने पर यदि condition true होती है, तो command के set statement execute होते है और IF के अंदर लिखे स्टेटमेंट execute होते है | तथा condition के wrong होने पर program exit हो जाता है, मतलब कि हम IF स्टेटमेंट से बाहर आ जाते है |

Syntax:

If(test condition)
{
statement
}

Program Using IF Statement: IF Statement In C In Hindi!

एक program बनाइये जिसमे किसी student का name और age enter की जाये, यदि उसकी age 5 वर्ष से अधिक हो तो admission granted display होता है |

#include<stdio.h>
#include<conio.h>
main()
{
char n;
int a;
printf("Enter name of student");
scanf("%s", &n)
printf("enter age");
scanf("%d", &a);
if(a>=5)
{
printf("Admission Granted");
}
getch();
}

You can also go through a few more amazing blog links related to C/C++:

Problems of procedure-oriented language in Hindi…
This Pointer In C++ In Hindi…
how to learn c language easily…
C Language Interview Question In Hindi…
Looping In C In Hindi…
Switch Statement In C In Hindi…
IF Statement In C In Hindi…
IF-Else Statement In C In Hindi…
Nested If-Else Statement In C In Hindi…
Top to bottom vs Bottom-up programming approach in Hindi…

इस ब्लॉग(IF Statement In C In Hindi) को लेकर आपके मन में कोई भी प्रश्न है तो आप हमें इस पते a5theorys@gmail.com पर ईमेल लिख सकते है|

आशा करता हूँ, कि आपने इस पोस्ट ‘IF Statement In C In Hindi’ को खूब एन्जॉय किया होगा|

आप स्वतंत्रता पूर्वक अपना बहुमूल्य फीडबैक और कमेंट यहाँ पर दे सकते है|

आपका समय शुभ हो|

Anurag

I am a blogger by passion, a software engineer by profession, a singer by consideration and rest of things that I do is for my destination.