LCS with 3 strings

It’s giving segmentation fault. Check out.

Hey @anishanand3733
Correction is on line 11 :

for(int j=1;j<=n;j++) { //correction here j<=n aayega initially it was i<=n