In English the format for asking a question is

Are you hungry?" with a question mark at the end. How is a Spanish question written differently?

Isn't it to put a question mark at the beginning also?

yes you put a question mark in the beginning and in the end of the question

Thank you

your welcome

Yup. Reverse question mark (¿) always at the beginning. ASCII #168.

In Spanish, the format for asking a question is different from English. While English uses a question mark at the end of a sentence, Spanish uses both a question mark at the beginning and at the end of a question. This is to indicate the beginning and end of the interrogative sentence.

For example, the English question "Are you hungry?" would be written as "¿Tienes hambre?" in Spanish. As you can see, the question mark appears at the beginning (¿) and at the end (?). The opening question mark adds clarity to the sentence, indicating to the reader or listener that it is an interrogative statement.