一个关于结构体的简单程序帮忙找错误啊 亲们
#include <stdio.h>int main(void)
{
typedef struct test_t{
int id;
char name[30];
char address[100];
}test;
test *a;
a->id=100;
a->name="sunxx";
a->address="China";
printf("\nYour Id is %d\nYour name is %s\nyour address is %s\n",a->id,a->name,a->address)
return 0;
}