Identify the type of flower shown in A and B.Which out of the two will produce an assured seed set?

Identify the type of flower shown in A and B.Which out of the two will produce an assured seed set?

The flower A is chasmogamous fower having exposed anthers and stigma whereas B is cleistogamous flower which do not open at all.
Cleistogamous flowers produce an assured seed set.