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 does 3 periods mean in texting?

604


What are keywords c?

607


What is the scope of static variable in c?

538


Can we assign integer value to char in c?

619


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

688






Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5465


When should you not use a type cast?

662


Explain is it better to bitshift a value than to multiply by 2?

720


What does static variable mean in c?

657


What are the types of unary operators?

667


How can I find the modification date of a file?

708


pierrot's divisor program using c or c++ code

1735


Explain how do you print only part of a string?

652


Write a program to print factorial of given number using recursion?

607


How do we make a global variable accessible across files? Explain the extern keyword?

1427