Select the correctly punctuated sentence ?

A ) The student said to his teacher may i ask a question

B ) The student said to his teacher May i ask a question ✅

C ) The student said to his teacher May I ask a question ?

D ) The student said to his teacher may i ask a question