I need to return a char pointer from func.
The function takes a string and then always returns a 40 char value as a result of calling "giveout". I want to optimize this code in efficient way and want to use malloc and free to aviod any mem leak issue.
Code:char * retrieve ( char *para1) { }