A hollow cylinder having infinite length and carrying uniform current per unit length along the circumference as shown. Magnetic field inside the cylinder is

Key idea: A current flowing around the circumference of a long cylinder (as the figure's arrows show) is a continuous solenoid. Ampere's law gives a uniform axial field inside.
Answer: (C)
Tagged Ampere's circuital law: cylinders, solenoids and toroids. Machine-assigned, so read it as a strong shortlist rather than a verdict.