Zero Coefficients

In the equation Ax + By = C, what happens when A or B or C is zero?


Ax + By = C represents the equation of a line, where A, B, and C are real numbers.

Which of these letters equals 0 if the line is vertical?
Horizontal?
The x-axis?
The y-axis?