C Character Set
Every language has some basic element and grammatical rules. Before programming in C, it is must to know the basic elements of the language. These basic elements are character set, variables, datatypes, constants, keywords (reserve word), variable declaration, expression statement etc. All of these are used to construct a C program.
C Character set
The characters that are used in C programs are given below.
Character |
Name |
Character |
Name |
+ |
Plus sign |
- |
Minus |
* |
Asterisk |
% |
Percentage sign |
\ |
Backward slash |
/ |
Forward slash |
< |
Less than |
= |
Equal to sign |
> |
Greater than sign |
_ |
Underscore |
( |
Left parenthesis |
) |
Right parenthesis |
{ |
Left braces |
} |
Right braces |
[ |
Left bracket |
] |
Right bracket |
, |
Comma |
. |
Period |
‘ |
Single quotes |
“ |
Double quotes |
: |
Colon |
; |
Semicolon |
? |
Question mark |
! |
Exclamation sign |
& |
Ampersand |
| |
Vertical bar |
~ |
Tilde sign |
^ |
Caret sign |
# |
Hash |
|
|
Comments
Post a Comment