Who has made declaration of faith as compulsory before seeking public office in Pakistan?

Who has made declaration of faith as compulsory before seeking public office in Pakistan?

A. Supreme court
B. IHC
C. President
D. PM