use of ! operator
This tip submitted by mrinal jha on 2006-03-13 08:20:55. It has been viewed 14351 times.
Rating of 6.2 with 155 votes
the ! operator reverses the value of the expression it operates on. It makes a true expression false and a false expression true. The ! operator is often used to reverse the logical value of a single variable.
More tips
Help your fellow programmers! Add a tip!