The correct option is
C q24ε0Step 1: Choosing gaussian surface
To calculate the electric flux through the shaded area, we have to make a Gaussian surface such that a given charge appears at the center of the bigger cube resulting from the combination of 8 small cubes (as shown in figure)
Step 2: Flux through one cube
If a charge is at the corner then it is being shared by 8 cubes.
Flux passing through the given cube will be =q8ϵ0
Step 3: Electric flux through shaded area
Now for any cube, it is touching 3 of its faces. The area vector of that side and electric field vector will be perpendicular so flux through 3 sides will be 0.
An equal amount of flux will flow from other 3 sides.
Flux through shaded area =q8×3∈0
=q24∈0
Hence, Option(C) is correct.