#include "stdio.h"
int main( )
{
int x, y;
y=x(5);
return 0;
}
MSVC 2010 编译器给出以下错误:
Error 1 error C2064: term does not evaluate to a function taking 1 arguments c:\users\ae\documents\visual studio 2010\projects\text\text\text.cpp 13
2 IntelliSense: expression must have (pointer-to-) function type c:\users\ae\documents\visual studio 2010\projects\text\text\text.cpp 13
这是语义错误还是语法错误?