๐Ÿ’ป Day 83: Operators in C Language – Hinglish

 

๐Ÿ’ป Operators in C Language – 

๐Ÿ‘‰ Aaj hum seekhenge:
✅ Operator kya hota hai
✅ Types of operators
✅ Examples
(Programming ka very important topic) ๐Ÿ’ฏ


๐Ÿ“Œ Operator kya hota hai?

๐Ÿ‘‰ Operator = Jo operations (calculation / comparison) karne me help kare.

➡️ Simple words me:
Operator = Kaam karne wale symbols.

๐Ÿง  Example:

a + b

๐Ÿ‘‰ + = Operator


๐Ÿงฉ Types of Operators in C

1️⃣ Arithmetic Operators (Math Operators)

๐Ÿ‘‰ Calculation ke liye.

OperatorMeaningExample
+Additiona + b
-Subtractiona - b
*Multiplicationa * b
/Divisiona / b
%Modulus (Remainder)a % b

2️⃣ Relational Operators (Comparison)

๐Ÿ‘‰ Comparison ke liye.

OperatorMeaningExample
>Greater thana > b
<Less thana < b
>=Greater than or equala >= b
<=Less than or equala <= b
==Equal toa == b
!=Not equala != b

3️⃣ Logical Operators

๐Ÿ‘‰ Conditions ke liye.

OperatorMeaningExample
&&ANDa>5 && b<10
!NOT!(a>5)

4️⃣ Assignment Operators

๐Ÿ‘‰ Value assign karne ke liye.

OperatorExample
=a = 10
+=a += 5
-=a -= 5
*=a *= 5
/=a /= 5


5️⃣ Increment / Decrement Operators

๐Ÿ‘‰ Value increase/decrease karne ke liye.

OperatorMeaningExample
++Increase by 1a++
--Decrease by 1a--

๐Ÿงช Practice Questions

✅ Theory:

  1. Operator kya hota hai?

  2. Arithmetic operators ke naam likho.

  3. Logical operators explain karo.

✅ Practical:

๐Ÿ‘‰ Example likho:

int a = 10, b = 5;
printf("%d", a + b);

๐Ÿ“ Short Notes (Exam ke liye)

๐Ÿ‘‰ Operator = Symbols for operations
๐Ÿ‘‰ Arithmetic = +, -, *, /, %


⬅ Previous Day


                            Next Day ➡