Section C of the S Corporation Shareholder Stock and Debt Basis Limitations form is used to calculate the gain or loss on the repayment of a shareholder loan. The gain or loss is determined by comparing the adjusted basis in the debt (reported in Section B) to the amount repaid by the corporation. This calculation is necessary to determine the shareholder's taxable income or loss from the loan repayment.