A char is just a small number, usually a byte, either signed (-128 to 127) or unsigned (0 to 255).
To "transform" 65 into a char you just copy it into a char.
Really it's still just the number 65 but held in a single byte instead of a (usually) 4-byte int.
The way it really becomes a character is in how it's interpreted.
If we print it as an int, we get an int. If we print it as a char, we get the character symbol.
Code:
#include <stdio.h>
int main(void) {
char c = 65;
printf("%d %c\n", c, c); // should print: 65 A
return 0;
}