Correct option is A
The Profit and Loss Account will be debited to close the profit and later it is transferred profit and loss appropriation account for crediting it to partners' capital accounts. This entry is made to allocate the profit to A, B, and the deceased partner C in their profit-sharing ratio.