For some reason, whenever I run this program it exits at permute(permutater, length, lenth); . This doesn’t happen whenever I comment out the line and the function doesn’t even run. Any help?
For some reason, whenever I run this program it exits at permute(permutater, length, lenth);
Share
First thing I noticed – you’re not initializing the index variable
hor.