The logic follows here is:
Leap year: This is the year that occurs in every four years. The leap year has 366 days.
Therefore, The year which is divisible by 4 is a leap year but if it is a century then it must be divisible by 400.
So, in 100 years there are 24 leap years. Although 100 is divisible by 4, it is a century and 100 is not divisible by 400. Hence, 100 is not a leap year.
As we know,in 100 years there are 24 leap years.
Therefore, in a set of 400 years, the leap years are 24× 4 = 96years.
Now, since leap year occurs once after every four years, which means the 400th year is also a leap year.
So, the total number of leap years in a set of400 years
⇒ 96 + 1
⇒ 97 years
Therefore, there are 97 leap years in a set of 400 years.
Hence, the correct answer is 97 years.