"HARD WORK BEATS TALENT WHEN TALENT DOSEN'T WORK HARD."
"HARD WORK BEATS TALENT WHEN TALENT DOSEN'T WORK HARD."
Keywords are reserved word in programming language. Keywords are predefined reserved words used in programming language that have a special meaning. Every language have keywords. All language have grammar that come from English Grammar who represent the grammar of language.
int a;
In above example, int is a Keyword that indicates 'a' is variable of type integer.
C is case sensitive language, all keywords must be written in lowercase. In C language we have 32 Keywords
C language Keywords | |||
---|---|---|---|
int | float | double | char |
break | else | if | long |
switch | case | while | do |
auto | struct | typedef | for |
enum | register | extern | return |
union | continue | signed | void |
static | default | goto | sizeof |
volatile | const | short | unsigned |
We cannot use keyword as a variable.