The correct option is D The flux of the electric field through a closed surface due to all the charges is equal to the flux due to the charges enclosed by the surface
Gauss law is valid for all types of charge distributions placed in any medium. It states that the flux of the electric field through a closed surface due to all the charges is equal to the flux due to the charges enclosed by the surface.