The correct option is
A All of the above
A surety maybe discharged from liability through following ways:
Section 131, Indian Contract Law, 1872: "Revocation of continuing guarantee by surety’s death.—The death of the surety operates, in the absence of any contract to the contrary, as a revocation of a continuing guarantee, so far as regards future transactions."
Section 133, Indian Contract Law, 1872: "Discharge of surety by variance in terms of contract.—Any variance, made without the surety’s consent, in the terms of the contract between the principal and the creditor, discharges the surety as to transactions subsequent to the variance."
Section 134, Indian Contract Law, 1872: "Discharge of surety by release or discharge of principal debtor.—The surety is discharged by any contract between the creditor and the principal debtor, by which the principal debtor is released, or by any act or omission of the creditor, the legal consequence of which is the discharge of the principal debtor."