The correct option is B 12:00
1st alarm deeps in an interval of 3 hours, and the 2nd alarm deeps in an interval of 12 hours.
First, they beep at 00:00 hour.
Next, they will beep together at a time, which is the least common multiple of 3 and 12 hours.
3 is itself a prime number.
Using prime factorization,
12=22×3
∴ LCM =3×22=12
∴ They will beep together after 12 hours, i.e., 12:00 hours.