A symbol that is used while writing a program is called a character or an alphabet. A character can be a letter, digit or any special characters. All the characters that can be used while writing a program are called character set.
Letters : Lower case letters (a,b,c...z)Upper case letters(A,B,C,...Z)etc. Digits : 0 to 9. White spaces : Characters such as space, tab(\t), new line(\n), carriage return(\r) etc.
Symbols: such as:-