单项选择题

下列程序的输出结果是
#include"iostream"
using namespace std;
int Max(int a,int b)

  if(a>b)
return a;
  else
   return b;

void main()

  int m,n;
  m=10,n=5;
  int max=Max(m,n);
   cout<<max<<endl;

A.10
B.程序有误
C.1
D.0