string concatenation | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 2

string concatenation

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

15th Jan 2018, 8:47 AM
1 Resposta
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 - avatar