#include <stdio.h>
#include <stdlib.h> //malloc()、exit()
#define size 5
typedef struct Table {
int * head;
int length;
int size;
}table;
table initTable() {
table t;
Table应该是结构体类型 ,table应该是结构体变量。结构体变量+函数名 是什么用法?table t又是什么用法?
#include <stdio.h>
#include <stdlib.h> //malloc()、exit()
#define size 5
typedef struct Table {
int * head;
int length;
int size;
}table;
table initTable() {
table t;
Table应该是结构体类型 ,table应该是结构体变量。结构体变量+函数名 是什么用法?table t又是什么用法?