How did the dual monarchy of Austria-Hungary function? A) Austria controlled departments of foreign affairs and defenses. B) each country was responsible for managing its own affairs. C) both countries shared the same constitution and parliament. D) the ruler of each country took turns ruling the empire.