Hello. Im new to Trie. I know it's concept but I can't declare and access it correctly. I tried making a code. It's like this.
#define max 27
typedef struct ctype
{
struct ctype (*letter)[max];
int counter
}trie
void main()
{
trie t;
int ctr;
for(ctr = 0; ctr < max; ctr++)
t.(*letter)[ctr] = NULL;
}
I have a problem in both declaration and accessing. I've tried googling it but I can't understand the syntaxes. Please correct my code.