The correct option is A 8
As no two adjacent faces of the original cube are painted with the same colour, the faces which are painted with the same colour must be opposite to each other. So, it is not possible for a smaller cube to have the same colour on two of its faces.
All cubes at the corners have three faces coloured with different colours. There are eight such corner cubes.