Key phrase in C language
Key phrase are reserved phrase which are pridefine in ‘c’ library. They will’t be modified or modified.
There are whole 32 key phrases in commonplace ‘c’ and all key phrases have to be written in small case letter(a,b,c…..z)
int | char | float | double |
void | signed | unsigned | brief |
if | lengthy | else | swap |
case | default | break | proceed |
goto | for | whereas | do |
return | auto | static | extern |
register | struct | union | enum |
const | unstable | sizeof | typedef |
Identifier
It’s the title of variable, label, array, pointer, perform or any person outlined merchandise
There are particular guidelines relating to idenifier. These rule are as fllows:-
- An Indetifier have to be significant.
- It’s mixture of alphabets/letter(capital in addition to small),digits or underscore ( _ ).
- First character have to be an Alphabets or Underscore.
- Key phrases should not allowed for use as Identifiers.
- No particular characters, comparable to semicolon, interval, whitespaces, slash or comma are permitted for use in or as Identifier.
- No white area are allowed.
EX-basic wage
(Incorrect),basic_salary(True)
- It may well have mmaximum 31 or 32 character are vital. Ex:-
college students roll
andcollege students marker
are similar.
In C language characters are grouped into the next catagories,
- Letters(all alphabets a to z & A to Z).
- Digits (all digits zero to 9).
- Particular characters, ( comparable to colon
:
, semicolon;
, interval.
, underscore_
, ampersand&
and many others). - White areas.