Printing LCS
I need help in printing or even knowing the position of the LCS of two strings ; i hve used a recursive function but it causes for some cases a stack over flow ; any ideas how to avoid this from happening ?
I need help in printing or even knowing the position of the LCS of two strings ; i hve used a recursive function but it causes for some cases a stack over flow ; any ideas how to avoid this from happening ?
Suppose there is a function void f( int=10, int=20, int=30, int=40 ) If this function is called by passing 2 arguments to it, how can me make sure that these arguments are treated as first and third, whereas, the second and the fourth are taken as default.?