I'm not completly sure where to add in youe example code
The code that calls the function at the moment is,
answer2=convert(answer);
printf("\n");
printf("%s", answer2);
and my function is declared at the top of my program as
I'm new to C and pointers (only been learning C 4 weeks). Can you explain how to alter the other lines of my code so that the program works correctlly.
Thanks in advance,
Dave