int main() { symbol a; symbol b; symbol c; symbol *temp; symbol_table x; int result; firstPT table1; symbol p; a.name = "haha"; a.type = 2; b.name = "whoa"; b.type = 4; c.name = "haha"; c.type = 8; x = create_symbol_table(); result = add_symbol(x, &a); result = add_symbol(x, &b); result = add_symbol(x, &c); //destroy_symbol_table(&x); //printf("Symbol temp = %d\n", temp->type); //delete_symbol(x, "whoa"); print_symbol_table(x); return EXIT_SUCCESS; } 1