convert to string to char code example
Example 1: convert char to string java
char c = 'a';
String s = Character.toString(c);
//s == "a"
Example 2: convert char to char*
char c;
char *pChar = &c;
char c = 'a';
String s = Character.toString(c);
//s == "a"
char c;
char *pChar = &c;