string concatenation | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

string concatenation

how do i concatenate two string together without using the library function?

15th Jan 2018, 8:47 AM
gk.
1 Réponse
0
you can create a new string with the length equals the sum of the length of the strings and for each one you copy then into the new string using a loop if you dont want to use length too just loop until you find '\0'
15th Jan 2018, 9:50 AM
capsloth
capsloth - avatar