non ho capito cosa vuoi fare...
codice:
#include <stdio.h> 

void main()
{
    char ascii;
    char decimal;
    printf("INSERISCI UN CARATTERE: "); //inserisci ALT+64
    scanf("%c", &ascii);
    printf("ASCII = %c\n", ascii);
    printf("INSERISCI UN NUMERO [0-255]: "); //inserisci 64
    scanf("%d", &decimal);
    printf("ASCII = %c\n", decimal);

}
... ovv. in C