char n[40];
first = insert_front(n,id,s,first);
NODE insert_front(char n[],int id,int s,NODE first)
{
NODE temp;
temp=getnode();
temp->sem=s;
temp->name=n; /* I am getting error in this line */
temp->std_id=id;
temp->link=first;
return temp;
}
我收到了上述错误。应该纠正错误的代码是什么?