Print LCS in Dynamic Programming

Passing sample test case and my own test cases but i m failing the test cases.
https://ide.codingblocks.com/s/70460

@lakshaychhabra hey Lakshay I have modified your code. you can refer to this.

Hey Lakshay,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.

I will suggest you visit and consult with epson error code 0xf4 to get the better idea about the print process and hope it will be quite helpful for you.