我是一个c语言初学者,刚刚学了一点函数,于是自己动手写了以下代码:#include <stdio.h>#include <stdlib.h>int max(int a,int b){ int c = 0; c = b; if (a>b) c = a; return c;}int main(){ int a = 0;int b = 0; scanf("%d %d",&a,&b); a = max(a,b); printf("较大的数是%d",a); system("pause"); return 0;}由于电脑比较老旧,是32位,xp,我用的软件是visual studio 2010 pro,报错信息就是:c(3): error C2059: 语法错误:“类型”但是我检查了一下第三行,也和教学视频中老师写的代码比对了一下,感觉并没有什么错误,请大神解答一下错误在哪.