The power explicitly given to Congress in the Constitution regarding foreign affairs is:
D) the power to declare war.
While Congress also has the power to make treaties (with the advice and consent of the Senate), the specific power to declare war is directly stated in Article I, Section 8 of the Constitution.