Segmentation fault

segmentation fault is coming on doing any operation on the second trie created. please check the problem.

someone please clear the doubt

segmentation fault is coming due to creation of more than 1 object of class trie, whats the problem?