#include <stdio.h>
void myStrcat(char *a, char *b)
{
int m = strlen(a);
int n = strlen(b);
int i;
for (i = 0; i <= n; i++)
a[m+i] = b[i];
}
int main()
{
char *str1 = "PRO ";
char *str2 = "coder";
myStrcat(str1, str2);
printf("%s ", str1);
return 0;
}
Answers
Answered by
0
Answer:
WHAT'S THIS
Similar questions