c程序出了什么问题?
#include<stdio.h>main()
{ int a=3;
int func;
void proc;
proc();
a=func();
printf("This is a sample of c program. \n");
return(0);
}
void proc()
{
printf("Hello. \n");
}
int func()
{
return(2);
}
(6) : error C2182: 'proc' : illegal use of type 'void'
(8) : error C2064: term does not evaluate to a function
(9) : error C2064: term does not evaluate to a function