For pair (A , B) three ways are possible i) any item will be choose or not
ii) any item will be choose for A or not
iii) any item will be choose for A or not
No. of outcomes=3^10
No. of subsets with 10 elements = (2^10 - 1)
Total=3^10-(2^10 - 1)...................(C)