【发布时间】:2015-04-20 11:46:05
【问题描述】:
就嵌套函数而言,我无法理解输入和输出的用途
unsigned long int(*hash)(char *);
是...
这个嵌套函数是否接收一个字符串并输出一个指向 unsigned long int 的指针?
谢谢!
struct hash_table {
unsigned long int(*hash)(char *);
unsigned int n_buckets;
sll **buckets; /* an array of pointers to string lists */
};
【问题讨论】:
标签: c struct hashtable nested-function