这个错在哪里??error C2664: 'printf' : cannot convert parameter 2 from 'void' to '...'什
#include "stdio.h"void gcd(int a,int b)
{
int k=a%b;
while(k)
{
a=b;
b=k;
k=a%b;
}
printf("%d",b);
}
void main()
{
printf ("%d\n",gcd(35,28));
}
2012-03-22 16:20
void main()
{
printf ("%d\n",gcd(35,28));
} 
2012-03-22 16:22
2012-03-22 16:43

2012-03-22 16:47