C Charecter Set

 

When you write a program, you express C source files as text lines containing characters from the c character set.

When a program executes in the target environment, it uses characters from the character set. These character sets are related, but need not have the same encoding or all the same members.

Every character set contains a distinct code value for each character in the basic C character set.

A character set can also contain additional characters with other code values. The C language character set has alphabets, numbers, and special characters as shown below:

  1. Alphabets including both lowercase and uppercase alphabets – A-Z and a-z.
  2. Numbers 0-9
  3. Special characters include:

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

 

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: