I am pretty sure that B. How tall the corn grows is the dependent
The student is not a variable in how tall the corn grows, and the question does not indicate any different types of corn in this.
So the independent variable would be the type of fertilizer and the dependent variable would be the height of the corn.
I hope this is right and helps, have a good day!