Posts by Camilla Faria • 1 point
1 post
-
-1
votes1
answer141
viewsQ: How do I concatenate a string without using the functions of the string library?
#include <stdio.h> void concatenar (char str1, char str2){ int c, a; for(c=0; str1[c]!='0'; c++) for(a=0; str2[a]!='0'; a++){ str1[c]=str2[a]; } return str1; } int main (void){ char str1[10],…