structobject
{
charname[10];
//addmoredatafield
}
object*o=(object*)malloc(sizeof(object));
strcpy(o->name,”helloworld);
printf(“%s”,o->name);
手機打字,加油,努力學習,勤學苦練,早日工作
structobject
{
charname[10];
//addmoredatafield
}
object*o=(object*)malloc(sizeof(object));
strcpy(o->name,”helloworld);
printf(“%s”,o->name);
手機打字,加油,努力學習,勤學苦練,早日工作