(a) The dimensional formula shows which base quantities, and with what powers, make up a physical quantity. For pressure (force/area) it is [ML−1T−2]. The dimensional equation is the equation that sets the quantity equal to its dimensional formula: [P]=[ML−1T−2].
(b) Left-hand side: [P]=[ML−1T−2]. Right-hand side:
[ρ][g][h]=[ML−3][LT−2][L]=[ML−1T−2]
Both sides have the same dimensions, so the relation is dimensionally correct.
(c) No. A dimensionally correct relation need not be correct: P=2ρgh or P=21ρgh would pass the same test, because dimensionless factors do not show up in dimensions. The check can only prove a relation wrong (if it fails); passing it does not prove it right.