Subscribe

Enter your email address:

Categories

 

February 2012
M T W T F S S
« Dec    
 12345
6789101112
13141516171819
20212223242526
272829  

Archives

Disclaimer

© 2009 Zero Intellect. All rights reserved. The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway. This material is not sponsored or endorsed by any of the vendors mentioned in this website and their Logos are trademarks of their own and their affiliates.

C++ Logical Negation Operator

 

The logical negation operator ! [exclamation] used in C++ and many other languages. However the return value of the operator is overlooked by many people.

 

The syntax of the operator follows is

 

! cast-expression

 

Where, the cast-expression operand must be of scalar type (returning only a single value, not multiple values like an array)

 

The result is of type int

Continue reading C++ Logical Negation Operator