Which one would be correct?

"We have to answer the question, right?"
"We have to answer the question right?"

Thank you.

Both are correct, depending on what you mean.

What is the meaning here??

Both of these sentences are grammatically correct, but they have slightly different meanings due to the placement of the word "right."

The sentence "We have to answer the question, right?" uses a comma before "right" and is asking for confirmation or agreement. It is similar to saying "We have to answer the question, don't we?" The comma helps to separate the question from the rest of the sentence and signals a pause.

On the other hand, the sentence "We have to answer the question right?" does not use a comma before "right." In this case, "right" is used as an adverb modifying the verb "answer," meaning the question is asking if the answer needs to be correct or accurate.

To determine which one to use, consider the intended meaning. If you are seeking confirmation or agreement, use the sentence with the comma ("We have to answer the question, right?"). If you are asking whether the answer needs to be accurate, use the sentence without the comma ("We have to answer the question right?").