why ist giving sewgementaion fault plzz chevk it sir
Https://ide.codingblocks.com/s/279499
you have not insert anything in trie
so root=NULL
that’s why it is giving segmentation fault
rest is correct
i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved
if you have more doubts regarding this feel free to ask