单项选择题

下面是求最大公约数的函数gcd的首部
Function gcd(ByVal x As Integer, ByVal y As Integer) As Integer
若要输出8、12、16这3个数的最大公约数,下列语句中正确的是

A.Print gcd (8,12), gcd(12,6), gcd(16,8)
B.Print gcd (8,12,16)
C.Print gcd (8), gcd(12), gcd(16)
D.Print gcd (8, gcd(12,16))