Write function concat that takes two source arrays of charac

Write function concat that takes two source arrays of characters and a destination array of characters. The function should concatenate two source arrays and store in the destination array.

Solution

public char* concat(char *a,char *b)

{

strcat(b,a);

return b;

}

// strcat method of string header file

Write function concat that takes two source arrays of characters and a destination array of characters. The function should concatenate two source arrays and st

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site