The correct answer is: B. registered office.
A company's nationality is determined by its registered office. This is the place where the company is legally incorporated and where its head office is located. The registered office must be in a specific country, and this determines the company's nationality. For example, if a company is registered in the United States, it is a US company.
The shareholders of a company do not determine its nationality. The shareholders are the owners of the company, but they do not have any say in where the company is incorporated. The place where the books of accounts are kept also does not determine the company's nationality. The books of accounts are simply a record of the company's financial transactions, and they can be kept in any country.
In conclusion, the company's nationality is decided by its registered office. This is the place where the company is legally incorporated and where its head office is located. The registered office must be in a specific country, and this determines the company's nationality.