Sunday 22 June 2014

What Is the basic difference between a Keyword and an identifier..?



 
Difference between the Keyword and an Identifier


Here's the basic difference between the keyword and an identifier....
  
Keyword:

 A Keyword is a special word that has special purpose and meaning. Keywords are reserved already and they are very few.

The example of keywords are:  goto,switch, else etc. are Keywords.

Identifiers


It is the user defined name given to a part of a program . e.g. variable , object, function ,function , etc.Identifiers are not reserved .They are defined by the user.




For any clarification do contact by the comments section.

No comments:

Post a Comment