- A a %= 10;
- B a /= 10;
- C a |= 10;
- D None of the mentioned
- Share this MCQ
Answer:
D
Click me to Read more Question & Answer of
Operators and Enums in C Language
Share this MCQ
Answer: Option D
Valid assignment operator
Operator | Example | Same as |
---|---|---|
= | a = b | a = b |
+= | a += b | a = a+b |
-= | a -= b | a = a-b |
*= | a *= b | a = a*b |
/= | a /= b | a = a/b |
%= | a %= b | a = a%b |
|= | a |= b | a = a|b |
Share this MCQ