This is an example of intramolecular aldol condensation reaction. The major product of the reaction is as shown below.So, option A is correct.