the answer is: B. Congress had power to establish the national bank.
According to the ruling, congress was granted with the power to establish national bank under the necessary and proper clause that's written in the constitution.
This clause does not directly specify all the powers held by the congress, but it allows the congress to establish new institutions that deemed as necessary in order to fulfill its main duty.