请问Lvalue required in function XXXX是什么意思?
如题#include <stdio.h>
#include <string.h>
#define N 16
typedef struct
{ char num[10];
int s;
} STREC;
STREC fun( STREC *a, char *b )
{ int i;
STREC c;
c.num='\0'; c.s=-1;
for (i=0;i<N;i++)
{ if( strcmp (a[i].num , b )==0)
return a[i];
}
return c;