As every language contains a set of characters used to construct words, statements, etc., C language also has a set of characters which include alphabets, digits, and special symbols. C language supports a total of 256 characters.

Every C program contains statements. These statements are constructed using words and these words are constructed using characters from C character set. C language character set contains the following set of characters...

  1. Alphabets
  2. Digits
  3. Special Symbols
  4. White Spaces

1. Alphabets

C language supports all the alphabets from the English language. Lower and upper case letters together support 52 alphabets.

lower case letters - a to z

UPPER CASE LETTERS - A to Z

2. Digits

C language supports 10 digits which are used to construct numerical values in C language.

Digits - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

3. Special Symbols

C language supports a rich set of special symbols that include symbols to perform mathematical operations, to check conditions, white spaces, backspaces, and other special symbols.

Special Symbols - ~ @ # $ % ^ & * ( ) _ - + = { } [ ] ; : ' " / ? . > , < \ | tab newline space NULL bell backspace verticaltab etc.,

 4. White Spaces

In C Programming, white spaces contains:

  • Blank Spaces
  • Tab
  • Carriage Return
  • New Line

Summary of Special Characters in C


Here is a table that represents all the types of character sets that we can use in the C language:

Type of Character

Description

Characters

Lowercase Alphabets

a to z

a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z

Uppercase Alphabets

A to Z

A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z

Digits

0 to 9

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Special Characters

` ~ @ ! $ # ^ * % & ( ) [ ] { } < > + = _ – | / \ ; : ‘ “ , . ?

White Spaces

Blank Spaces, Carriage Return, Tab, New Line