I am facing difficulty to provide the reasoning behind the compiler result.
int x=524; scanf("%c", &x); printf("%d", x);