What is the difference between what and which?
For example, what is the difference between the following sentences?
What is correct?
Which is correct?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
Which and what have different meanings. Which is "used in questions to ask somebody to be exact about one or more people or things from a limited number."
For example, you ask "What name to give to your son do you prefer?" because there are many possible names to give to a baby, including the ones in other languages.
Suppose instead that you are talking to somebody who is telling that his wife prefers Michael, her mother prefers Andrew, and his mother likes Alberto. If you ask him "Which name do you prefer?" you are asking him the name he prefers between those three; if you ask him "What name do you prefer?" you are asking him the name he prefers, not excluding any other name that is not Michael, Andrew, or Alberto.
In your case, "Which is correct?" could be asked when the person who is talking to you said, for example, "You could do this or that." Your question is asking "Between this and that, what is correct?"