asked 221k views
4 votes
For C programming language, what does it mean when you have an exclamation mark after an equal sign? ie:

x=y;
y=!x;
x=!y;

1 Answer

3 votes
It has to be firstly understood that the exclamation mark is not at all associated with the equal mark. The correct way to write it is x = !y. This actually means that whenever "y" is true or false set, then it can be considered for sure that it returns zero or 1. I hope the answer has helped you.
answered
User Aras
by
8.4k points

No related questions found