Relational Operators in C programming language return true(non-zero number) or false(0) value. They operate on 2 operands. Relational Operators ==…