इस आर्टिकल में हम what are operators in C in Hindi|types of operators in Hindi और types of operators in C in hindi | ( C में operators के प्रकार ) के बारे में जानेंगे. दोस्तों hindi me iT me आपका बहुत बहुत अभिनान्दन हैं.
what are operators in C in Hindi | C प्रोग्रामिंग में operators क्या होते हैं?
operators को एक example से समझते हैं. मान लो आप से कोई कह रहा हैं की 2 और 2 कितने हुये तो आप बोलेंगे 4 हुये क्योकिं आपने इन संख्या को जोड़ दिया हैं. जोड़ा कैसे ”+” Symbol का use करके. इन Symbol को ही programming में operators कहते हैं.
C programming language में use किये जाने वाले ऐसे Symbol जो compiler को mathematical या logical operations परफॉर्म करने के लिए निर्देश देते हैं. उन Symbol को programming language में operators कहते हैं.
programming में operators का use किसी variable या किसी संख्या के साथ किया जाता हैं.
- what are Identifiers in C in Hindi? | Identifiers क्या हैं? 2022
- what are Keywords in C in Hindi?|keywords क्या होते हैं?2022
types of operators in C in hindi | ( C में operators के प्रकार )
C programming में निम्नलिखित operators होते हैं.
- Arithmetic operators
- Assignment operators
- Comparison operators / Relational Operators
- Logical operators
- Bitwise operators
what are Arithmetic operators in C in hindi? | C में Arithmetic operators क्या होते हैं?
C programming language में Arithmetic operators जिनका use common mathematical operations करने के लिए लिया जाता हैं. जैसे जोड़ (addition), गुणा (multiply), घटाने (substraction), भाग (dividation) आदि.
इस table के लिए x, Y की value
X = 5; Y = 10;
Operator | Name | Description | Example | result |
+ | जोड़ (addition) | दो value को जोड़ने के लिए use किया जाता हैं. | x+y | 15 |
– | घटाने (substraction) | दो value बीच घटाने( substraction ) operations परफॉर्म करने के लिए | Y-X | 5 |
* | गुणा (multiply) | दो value बीच गुणा (multiply) operations परफॉर्म करने के लिए | y*x | 50 |
/ | भाग (dividation) | दो value बीच भाग (dividation) operations परफॉर्म करने के लिए | y/x | 2 |
% | Modulus (मापांक) | दो value बीच Modulus (मापांक) operations परफॉर्म करने के लिए | y%x | 0 |
++ | Increment | value में एक का Increment करने के लिए. | x++ | 6 |
— | Decrement | value में एक का Decrement करने के लिए | x– | 4 |
what is Assignment operators in C in hindi? | Assignment operators क्या हैं?
C programming language में किसी variable के value असाइन की जाता हैं. जैसे int a = 5; यहाँ पर a का मान 5 हैं. यानी की 5 को a variable में असाइन कर दिया गया हैं.
example:-
int x = 10; x += 5;
इस table के लिए x की value 5 हैं
Operator | Example | Same | Result |
= | x = 5 | x = 5 | x = 5 |
+= | x += 3 | x = x + 3 | x=8 |
-= | x -= 3 | x = x – 3 | x =2 |
*= | x *= 3 | x = x * 3 | x = 15 |
/= | x /= 3 | x = x / 3 | x=1.66667 |
%= | x %= 3 | x = x % 3 | x = 2 |
&= | x &= 3 | x = x & 3 | x = 1 |
|= | x |= 3 | x = x | 3 | x = 7 |
^= | x ^= 3 | x = x ^ 3 | x =6 |
>>= | x >>= 3 | x = x >> 3 | x = 0 |
<<= | x <<= 3 | x = x << 3 | x=40; |
what are Comparison operators / Relational Operators in C in hindi? |Comparison operators / Relational Operators क्या हैं?
comparison operators का use दो value को आपस में compare करने के लिए किया जाता हैं.
C programming में comparison operators true (1) या false (0) value return करते हैं.
इस table ले लिए x = 10 और y =20 हैं.
Operator |
Name | Description | Example | Result |
---|---|---|---|---|
== | Equal to | ये operator चेक करते हैं की दोनों value बराबर हैं की नहीं. | x == y | false |
!= | Not equal | ये operator भी दो value के मान को चेक करता हैं. अगर बराबर नहीं होती हैं तो true return करता हैं. | x != y | true |
> | Greater than | ये चेक करता की लेफ्ट से right value बड़ी हैं की नहीं. | x > y | false |
< | Less than | ये चेक करता की right से लेफ्ट value बड़ी हैं की नहीं. | x < y | true |
>= | Greater than or equal to | ये जाँचता करता हैं left value से right बराबर हैं या बड़ी हैं. | x >= y | false |
<= | Less than or equal to | ये जाँचता करता हैं right value से left value बराबर हैं या बड़ी हैं. | x <= y | true |
what are logical operators in C in hindi? | logical operators क्या होते हैं?
C programming में Logical operators वे होते हैं. जिनका use करके दो या दो से अधिक variable में बीच logic निर्धारित किया जाता हो.
इस table के लिए x का मान 5 और y का मान 10 हैं
Operator | Name | Description | Example | Result |
&& | Logical and | operators में दोनों statement true होनी चहिये तो true return होगा. | x < 5 && y <= 10 | false |
|| | Logical or | एक भी statement true होने पर true return होगा. | x < 5 && y <= 10 | true |
! | Logical not | ये operators true को false और false को true कर देता हैं. | !(x <= 5 && x <= 10) | false |
what are Bitwise operators in C in hindi? | Bitwise operators क्या हैं?
C programming language में bit-level पर operations परफॉर्म करने के लिए bitwise operators का use किया जाता हैं.
& AND operation
C programming में 0 का मतलब false और 1 का true होता हैं.
A | B | A & B |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
| OR operation
C programming में 0 का मतलब false और 1 का true होता हैं.
A | B | A | B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
^ XOR operation
C programming में 0 का मतलब false और 1 का true होता हैं.
A | B | A ^ B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
आशा करता हूँ what are operators in C in Hindi|types of operators in Hindi और types of operators in C in hindi | ( C में operators के प्रकार ) आपको पसंद आई होगी. अगर आपको इससे related कोई question पूछना हैं तो आप comment करके पूछ सकते है. अगर हमारे व्दारा की जानकर अच्छी लगी हो तो आपने दोस्तों के साथ जरुर शेयर करें. धन्यबाद
FAQ प्रश्न :-
प्रश्न – what are operators in C in Hindi | C प्रोग्रामिंग में operators क्या होते हैं?

उत्तर – C programming language में use किये जाने वाले ऐसे Symbol जो compiler को mathematical या logical operations परफॉर्म करने के लिए निर्देश देते हैं. उन Symbol को programming language में operators कहते हैं.
types of operators in C in hindi | ( C में operators के प्रकार )
Arithmetic operators
Assignment operators
Comparison operators / Relational Operators
Logical operators
Bitwise operators