A virus that infects an application program is known as a _________.

a) boot sector virus
b) macro virus
c) Trojan horse
d) file virus

From what I understand, both macro viruses and file viruses affect application programs such as Word and Excel. So which is the right answer?