Source: Previous Question Papers

Observe the following figure and answer the following questions:
All the outer surfaces of the given figure are painted with the same color. How many cubes will have three faces painted?
Options
Option A
16
Option B is correct
14
Option C
20
Option D
12