Hi Faizan,
First, Ofcourse Every know meaning of -, but not all person know the meaning of ==. Even not all programmers know. eg Shell programming.
Second, At the same pltform you may not be able to use == operator, as operator depends on language used. While "1" is a constant used in most of the language representing TRUE. Even if you are considering JAVA, the value stored in the Boolean variable has Binary value 1 to represent a TRUE. Many platform supports "1" as a TRUE representation.
Third, Yes any fool can get the meaning of "1 equals 1", But I want to make you remember that no one is fool in this world. And how come to make you know that a simple guy can understand == as a comparision operator.
No comments:
Post a Comment