Which of these is a duty fulfilled by both the American president as chief executive and the Australian prime minister?

a. Commander-in-chief of the military
b. Head of state
c. Chief diplomat
d. Chief legislator