Converting ASCII code to a character value
问题 I've just started learning how to program in C and I'm trying to make a program that accepts a number and uses it as an ASCII value to return the ASCII character associated with that value. The program works when the parameters are predefined but when I introduce the scanf function it compiles but doesnt give me the same results. Here is my code : #include <stdio.h> int main(void) { question2(); return 0; } int question2(void) { int myInt = 65; scanf("%d", myInt); char ch = myInt; printf("%c"