Comparing the equality operator (==) with the '=' assignment operator. : Equality « Data Type « C Tutorial






aba = ba == b
53a = 3 (true)false
70a = 0 (false)false
00a = 0 (false)true


2.29.Equality
2.29.1.Comparing the equality operator (==) with the '=' assignment operator.
2.29.2.To test two expressions for equality, use == instead of =