I m trying to write a c++ function to lexicographically compare kth word from two strings. here is my function :
bool kth_lexo () { int k = 2 ; str1 = &qu