Correct option is B
The Martanda Sun Temple in Kashmir was constructed by King Lalitaditya Muktapida, the ruler of the Karkota dynasty during the 8th century CE. The temple is dedicated to the Sun God (Surya) and is one of the most significant architectural marvels of ancient Kashmir, showcasing a blend of Gandharan, Gupta, and Kashmiri architectural styles.
Avantivarman was a ruler from the Utpala dynasty and is known for founding the city of Avantipur.
Didda was a queen of the Later Hindu Shahi dynasty in Kashmir and played a significant political role.
Chandrapida was an earlier ruler of the Karkota dynasty, but there is no historical evidence suggesting he was involved in the construction of the Martanda Temple.