🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

C language में += operator का मतलब क्या है?

What does the += operator do in C language?

A
Subtract and assign
B
Multiply and assign
C
Add and assign
D
Divide and assign
Explanation

+= एक compound assignment operator है।
This operator adds the right-hand value to the left-hand variable and assigns the result back to that variable.

उदाहरण / Example:

int a = 5;
a += 3;   // इसका अर्थ है: a = a + 3;

अब a की वैल्यू होगी 8


👉 So, += का मतलब है जोड़ो और असाइन करो (Add and assign)
👉 It combines addition and assignment in one step.

Correct Answer: C) Add and assign

Latest Updates