Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
int main() {
char ch = 'A';
int ascii;
// Character to ASCII
ascii = ch;
printf("Character: %c\n", ch);
printf("ASCII Value: %d\n", ascii);
// ASCII to Character
int num = 66;
printf("Number: %d -> Character: %c\n", num, (char)num);
// Alphabet shifting example
char next = ch + 1;
printf("Next Character: %c\n", next);
return 0;
}Coding works best on desktop or with an external keyboard.