Re: Cannot return values of char variable



Pedro Pinto wrote:

Ok here it goes:

[unnecessary detail snipped]

What part of Thomas Sommers' message - "Create a small, complete
program that
displays the problem, and post it." - don't you understand?

You said your problem was with two small functions, so write a small
program that just contains those functions and enough code (in a main()
function) to test them. This is, IMHO, basic programming craft...

.