Consider the charge configuration and spherical Gaussian surface as shown in the figure. When calculating the flux of the electric field over the spherical surface, the electric field will be due to
The electric field is due to all charges present whether inside or outside the given surface.