i) The given agreement is valid.
Reason: An agreement in restraint of legal proceeding is the one by which any party thereto is restricted absolutely from enforcing his rights under a contract through a Court (Section 28 of the Indian Contract Act, 1872). A contract of this nature is void. However, in the given statement, no absolute restriction is marked on parties on filing of suit. As per the agreement, suit may be filed in one of the courts having jurisdiction.
ii) The said agreement is void.
Reason: This agreement is void as the two parties are thinking about different subject matters so that there is no real consent, and the agreement may be treated as void because of mistake of fact as well as absence of consensus.
iii) The said agreement is valid.
Reason: An agreement by which any person is restrained from exercising a lawful profession, trade or business of any kind, is to that extent void (Section 27). But, as an exception, agreement of service by which an employee binds himself, during the term of his agreement, not to compete with his employer is not in restraint of trade.
OR
i) The given agreement is void.
Reason: As per Section 28 of the Indian Contract Act, 1872, this clause is in restraint of legal proceedings because it restricts both the parties from enforcing their legal rights.
Note: Alternatively, as per Section 23 of the Indian Contract Act, 1872, this clause in the agreement defeats the provision of law and therefore, being unlawful, is treated as void.