Driver Code
int main ( ) { char X [ ] = " geeks " ; char Y [ ] = " geeksfor " ; char Z [ ] = " geeksforge " ; int m = strlen ( X ) ; int n = strlen ( Y ) ; int o = strlen ( Z ) ; printf ( " Length ▁ of ▁ LCS ▁ is ▁ % d " , lcs ( X , Y , Z , m , n , o ) ) ; return 0 ; }