The correct option is D 12C2×(26−2)126
Total cases here is : 126 as each boy has 12 choices and 6 boys.
Now if we want them to have their birthdays in exactly 2 months, we need to choose the 2 months first. this can be done in 12C2 ways.
Do this and then each boy has 2 choices, month A or month B. ⟹26
but we also need to subtract the cases in which all of them have their birthdays in one month exactly. So we subtract 2 cases.
Hence probability=12C2×(26−2)126