The correct answer is: A. Within a year of its registration.
The first auditor in a company limited by shares may be appointed by the directors within a year of its registration. This is as per Section 139 of the Companies Act, 2013. The section states that "The first auditor of a company shall be appointed by the Board of Directors at its first meeting and shall hold office until the conclusion of the first annual general meeting of the company and thereafter until the appointment of his successor."
Option B is incorrect because the statutory meeting is held within 30 days of the registration of the company. Hence, the first auditor cannot be appointed before the statutory meeting.
Option C is incorrect because the first annual general meeting is held within 18 months of the registration of the company. Hence, the first auditor cannot be appointed at the time of first annual general meeting.
Option D is incorrect because the directors cannot appoint the auditor in consultation with the Institute of Chartered Accountants of India. The auditor is appointed by the directors and the Institute of Chartered Accountants of India has no role in the appointment process.