#include char toUpper(char); int main(void) { char ch, ch2; printf(\"lowercase input : \"); ch = getchar(); ch2 = toUpper(ch);
There are no local variables, so the value on the top of the stack at the end of the function will be the parameter c. The value at the top of the stack upon exiting, is the return value. So whatever c holds, that's the return value.