Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

For C programming, what does it mean when there is an exclamation mark after an equal sign? ie: x=y; y=!x; x=!y;

OpenStudy (anonymous):

http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B ! is the unary logical negation operator So you've got assignment in the last two statements, where you're assigning a boolean (0 or 1) to y or x.

OpenStudy (anonymous):

in statement y = !x Value of X will be inverted (0 --> 1 and vice versa) bit by bit, and will be copied in Y. For example, !4 = 3

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!