A vecter A is along x axis it's y component is?

The y component of a vector A along the x axis is zero.

If vector A is along the x-axis, it means that it has no y-component or the y-component is equal to zero.