The correct answer is D. Cash account.
When a company purchases a building for cash, the cash account is credited. This is because the cash account is increased by the amount of cash that is paid for the building. The building account is also debited, which means that the value of the building is recorded on the company’s balance sheet.
The other options are incorrect because they are not accounts that are affected by the purchase of a building for cash. Capital account is a general ledger account that is used to record the total amount of equity in a company. Fixed assets account is a general ledger account that is used to record the value of a company’s long-term assets.