This question already has an answer here:
I am bit confused for the use of will & would, still not understanding where is it necessary or where we can use one or other.
Following examples for your kind perusal:
A) What will be your answer? (indicates casual manner)
B) What would be your answer? (indicates formal manner)
I believe both are correct and can be used as per the situation.