0

C question

Hi, I am confused about merging string and concatenating strings? Can anybody please explain me are they same or not?

28th May 2022, 6:14 AM
jennifer Dsilva
2 Réponses
+ 1
Thank you for the reply.
29th May 2022, 1:24 PM
jennifer Dsilva
0
To merge means to join more than one string into a new string. To concatenate means to push one string at the end of another (already existing) string. This means no new string is created. Either way, the coder must estimate before time, and ensure the string has enough space to contain the other string(s) to be merged/concatenated.
28th May 2022, 7:18 AM
Ipang