hey guys I need help with this I have no idea how to work this out please help me with like atleast the starting coding i am trying to google too but i cannot find any info on this.
"char * copyString( const char * s );
copyString returns a dynamically allocated copy of the arg string.
For instance, if s were “CAT”, then copyString allocated a 4-byte array, sets that array to “CAT”, and returns the address of the first element of the dynamically allocated array. As usual, deallocation is the caller’s responsibility."
this is the function that i am suppose to have please can some one point me in the right direction.