When computing a partner's tax basis at the end of the year, which of the following adjustments to tax basis is accounted for last?
a) Distributions made by the partnership to the partner.
b) The partner's allocable share of the partnership's losses and deductions.
c) The partner's allocable share of partnership income.
d) The partner's allocable share of the partnership's nondeductible, noncapital items.