A coin is tossed once. If a head comes up, then it is tossed again and if a tail comes up, a dice is thrown. The number of points in the sample space of experiment is
A 24
B 12
C 4
D 8