What is keywords?

Keyword is reserved word in programming language. Keywords are predefined, reserved words used in programming that have a special meaning. Every language have keywords. All language have grammar that come from English Grammar who represent the grammar of language.

Example of keyword:

	
    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.

keywords table of C

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.

Advertisement here

Share this Page.

Post Your Comment