(e)is sold or otherwise transferred by the amalgamating company or demerged company, as the case may be, in a scheme of amalgamation or demerger, to the amalgamated company or resulting company, being an Indian company,—(i)the provisions of clauses (a), (b), (c) and (d) shall not apply to the amalgamating or demerged company; and(ii)all the provisions of this section shall continue to apply to the amalgamated or resulting company as it would have applied to the amalgamating or demerged company, as if the transfer had not taken place.