I tried solving a problem from gfg.
question : https://practice.geeksforgeeks.org/problems/total-decoding-messages/0/
And this is my code for it… I dont understand why does it give segmentation fault, Pease help.
https://practice.geeksforgeeks.org/problems/total-decoding-messages/0/