The straight line is
We have,
Also, the given line is parallel to the vector,
Let be perpendicular to the given line.
Now,
3x + 4y + 0z = 0
It is satisfied by the coordinates of z-axis, i.e. (0, 0, 1).
Hence, the given line is perpendicular to z-axis.