Explanation:
infinity
a vertical line is typically represented by
x = c
on this line y can have any value, from -infinity to +infinity, they are all correct.
as the slope is usually the ratio "y difference / x difference", for this line the x difference between any 2 points is 0. and therefore the slope fraction is a division by zero. hence : ... infinity. or simply "undefined".