Concat two string with most overlapped substring has to
removeĀ  "abcd"+ "cdef" = "abcdef

Answer Posted / sham

Check the each char in the second string with first string
if it is not there then concatenate into the first string else
do not do.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between malloc calloc and realloc in c?

657


What is pragma in c?

640


What is the difference between ++a and a++?

707


Write a program of prime number using recursion.

631


Differentiate between calloc and malloc.

771






Explain what are the advantages and disadvantages of a heap?

607


Differentiate between a for loop and a while loop? What are it uses?

685


How can my program discover the complete pathname to the executable from which it was invoked?

667


What are the restrictions of a modulus operator?

645


What are the various types of control structures in programming?

634


Explain how do you list files in a directory?

626


Explain the array representation of a binary tree in C.

736


What is the use of function in c?

723


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1498


What is the difference between void main and main in c?

638