Implement the strncat function as efficiently as you can.. How do you handle errors if you had to
[code:1]char* strn_cat(char* src, char* dest, int n) { int i=0; while(dest[i]!='\0') { i++; }
for(int j=0;j
Implement the strncat function
[code:1]char* strn_cat(char* src, char* dest, int n)
{
int i=0;
while(dest[i]!='\0')
{
i++;
}
for(int j=0;j