Which question has correct accents and punctuation?

A.
¿Como te llamas?

B.
¿Cómo te llamas?

C.
?Como te llamas?

D.
Cómo te llamas?