Let's sum these two numbers.
12 + 40 = 52 total hours.
In every 12-hour the clock format changes AM to PM or the opposite PM to AM. So we need to divide 12 with the result 52.
There are 4 times 12 number in the 52
If the result is ODD number the time format will change the opposite side. If the result is EVEN number the time format will be the same.
Answer :4am
What is 40 hours from 12am ? = 4am.
Add 40 hours to 12am is equal 4am.