An electric dipole is an arrangement of two equal charges of equal magnitude but opposite nature, separated by some fixed distance.
Now consider a dipole enclosed inside a closed surface S. The flux through the surface S is zero.
True
Gauss’s law states, ϕclosed surfaceqinϵ0=q−qϵ0=0
Hence no electrical flux through the surface which also implies that the number of field lines leaving the surface is equal to number of field lines entering it.