how to write / char in c code example Example 1: how to make a character in c char key = 'A'; Example 2: how to make a character in c char ch; char key, flag;.