The C Character Set, C language Assignment Help

Assignment Help: >> Introduction to C language >> The C Character Set, C language

The C character set 

A character denotes any alphabet, digit, or special symbol used to represent information. White space are prohibited between the character of keywords and identifiers.


(a) Alphabets                    Letters ---Upper case letters (A to Z)
                                                Lower case letters (a to z)
(b) Digits                             Decimal digits (0 to 9)

(c) Special characters

Special Characters

,

Comma

.

Dot

;

Semicolon

:

Colon

?

Question Mark

'

Apostrophe

"

Quotation Mark

!

Exclamation Mark

|

Vertical Bar

/

Slash

\

Back Slash

~

Tilde

_

Under Score

$

Dollar

%

Percent

#

Pound/Hass/Number Sign

&

Ampersand

^

Caret

*

Asterisk

-

Minus

+

Plus

Less Than

Greater Than

( )

Parenthesis Left/Right

[ ]

Bracket Left/Right

{ }

Curly Braces Left/Right

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(d)White spaces
                           Blank space
                           Horizontal tab
                           Carriage return
                           New line
                           Form feed

 

(e) Trigraph characters:

       These are group of three characters. First two are (??) and last is a 'C' character. The trigraph  

       character provides a way to enter certain character that is not available on some keyboard.

 

Trigraph Sequence   

Translation

??=

#(number sign)

??(

[ (Left Bracket)

??)

] (Right Bracket)

??<

{ (Left Brace)

??>

} (Right Brace)

??!

|(Vertical Bar)

??/

\ (Back Slash)

??-

~(Caret)

??'

^ (Tilde)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd