0
C question
Hi, I am confused about merging string and concatenating strings? Can anybody please explain me are they same or not?
2 Réponses
+ 1
Thank you for the reply.
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.