Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include <stdio.

h>
void
{

my_strcat(char *a, char *b)


for ( ; *a; a++) ;
for ( ; *a = *b; a++, b++) ;

}
int main()
{
char sir1[80], sir2[80];
puts ("Introduceti sirul 1 = ");
gets (sir1);
puts ("Introduceti sirul 2 = ");
gets (sir2);
my_strcat(sir1, sir2);
printf("%s", sir1);
return (0);
}

You might also like