结构体赋值都错了,为什么?
											#include<stdio.h>struct test
{ char name[20];
int size;
} s[3];
int main()
{
s[0].name="Linux";
s[0].size=10;
printf("%s",s[0].name);
return 0;
}
编译错误:
incompatible types in assignment
 2008-06-20 18:01
	    2008-06-20 18:01
   2008-06-20 18:06
	    2008-06-20 18:06
   2008-06-20 18:09
	    2008-06-20 18:09
  
 2008-06-20 18:10
	    2008-06-20 18:10
   2008-06-20 18:18
	    2008-06-20 18:18
  
 2008-06-20 18:27
	    2008-06-20 18:27
   2008-06-20 18:40
	    2008-06-20 18:40
  
 2008-06-20 19:00
	    2008-06-20 19:00
   2008-06-20 19:07
	    2008-06-20 19:07
   2008-06-20 19:13
	    2008-06-20 19:13