Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

true false operator

!(5 == 5)   // evaluates to false because the expression at its right (5 == 5) is true
!(6 <= 4)   // evaluates to true because (6 <= 4) would be false
!true       // evaluates to false
!false      // evaluates to true
Source by cplusplus.com #
 
PREVIOUS NEXT
Tagged: #true #false #operator
ADD COMMENT
Topic
Name
3+3 =