这个错在哪里??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));
}
void main() { printf ("%d\n",gcd(35,28)); }