Thankx for the reply!
As u have said the function is in another file called admin.c, but everything is included in Make file.....
is the statement i have written correct....
does Unresolved means an error... or can it be ignored?????
The reason being is that you don't know if the char pointer being passed back is still pointing to an allocated memory block. Sometimes I have seen functions pass back a pointer to a local variable or memory being allocated and then made free. It just so happens that you are pointing to a memory location that still has a string (null terminated) value. This may not be the case later on in the program's execution, especially when you are allocating and freeing memory frequently, and you may encounter a memory violation.
At least by copying string into a local variable you can protect against any future problems.
Of course, if it is your own function, you can make your own judgements as to the best way to call it, based on your overall design.