Two blocks A and B are just touching each other. The pressure exerted by the block A on block B will be:
Pressure in solids are due to their weight or the force applied on them. Since the blocks are just touching, and no force is acting on the object perpendicular to its area, hence, there is no pressure exerted by block A on block B.