getch is a function that returns the integer of a character that the user provides, right?
so it's likeso if we have a character variableCode:int getch();Code:a = 'B';would return number 66, which is integerCode:a = getch();
putch is a function that prints the character of the variable's ASCII code in this case variable's (a), but why putch is declared likei mean, it returns a character right? shouldnt it beCode:int putch(int a);?Code:char putch(int a);
thanks in advance