Skip to main content

C Character Set and Encoding

1 min read Updated June 30, 2026
Share:
On this page (5sections)

Types Of Character Set

  • Letters
  • Digits
  • Special Characters

Letters :

  • C language comprises the following set of letters to form a standard program. They are:
  • A to Z in Capital letters.
  • a to z in Small letters.
  • In C programming, small latter and caps latter are distinct.

Digits :

  • C language comprises the following sequence of numbers to associate the letters. 0 to 9 digits.

Special Characters:

C language contains the following special character in association with the letters and digits.

 
Symbol

 
 
Meaning

 
 ~  Tilde
 ! Exclamation mark 
 # Number sign 
 $ Dollar sign 
Percent sign  
 ^ Caret
 & Ampersand 
  * Asterisk 
(  Lest parenthesis 
 ) Right parenthesis 
Underscore  
 + Plus sign 
 |  Vertical bar
  \  Backslash
 ` Apostrophe
 -  Minus sign
 =  Equal to sign
  {  Left brace
  }  Right brace
 [  Left bracket
 Right bracket
 :  Colon
 "  Quotation mark
 ;  Semicolon
 <  Opening angle bracket
 >  Closing angle bracket
  ?  Question mark
 ,  Comma
 . Period
  /  Slash
## Related Pages

Continue learning with these related tutorials and programs:

Frequently Asked Questions

What does this C program do?
It is a C example program that demonstrates C Character Set and Encoding, including the complete source code and the expected sample output.
How do I compile and run this C program?
Save the code in a `.c` file, compile it with `gcc filename.c -o program`, then run it with `./program` (or `program.exe` on Windows).
What concepts does this example use?
This example uses core C syntax, illustrating a common pattern in C programming.

Related Tutorials

Search tutorials