Question: what is the difference between logical and relational operators?
Answer: Relational operators are used to find the relation between two operands i.e.,weather both are equal or not,or to find the greatest and least operand. ... logical operators is that relational operators can have any operand values and return boolean while logical always have boolean operands and return a boolean.