c write char * code example Example 1: how to make a character in c char ch; char key, flag;. Example 2: c declare char char variable;