Single Choice
Not Set
QWhich of the following is an invalid assignment operator?
ID: #1218
Operators and Enums in C Language
22,324 views
Question Info
#1218Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
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 |
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic