69,371
社区成员
发帖
与我相关
我的任务
分享
typedef struct student
{
int num;
char sex;
}*STUDENT;
typedef struct
{
int i;
}TEST ;
呢?
这时候再作参数的时候,也必须加上struct ,即 int function(struct TEST *p);否则会有警告的
struct Test
{
int i;
};
int main()
{
Test t;
}
int main()
{
struct Test t;
}
typedef struct Test
{
int i;
} TEST;
int main()
{
TEST t;
}