

Gauss theorem states that the total electric flux through a closed surface is 1/εo times the net charge enclosed by the closed surface.
The charge resides on the surface of cylinder, so inside the cylinder there is no charge thus the electric flux is zero.
