Define relational operator with two examples.

Relational Operator are used to compare to values two values of some type either both numeric or both string. A comparison of sting data with numeric data cannot be done. The comparison of sting data is done on the basis of ASCII value. The result of comparison is either true (non zero) or false (zero).
Two example of relational operator are < and >.

Comments

Popular posts from this blog

Define Variable. Give two examples.

Define arithmetic operator with two examples.