Friday, 14 September 2012

Identifiers

Identifiers
All the names use in a language to make a program is called identifiers.It consists of constants,variables,functions,datatypes and labels.Maximum 31 characters are allowed to write the name of identifiers.
Example  include, name, main(), printf(), etc

Types of Identifiers
  • Standard Identifier    
  • User defined Identifier

Standard Identifier:
The names define by the language and names which have predefined meaning are called standard identifier. If user attempts to change the meaning of any standard identifier than it cannot be used for original purpose. Standard Identifier cannot access memory location.
Example: main (),print f(),include etc..

User Identifier:
The names define by the user and don’t have any predefined meaning are called user identifiers. It is user to access memory location to hold data and its computational results. User identifiers can be used for any purpose.
Example: name, roll no, address etc.

No comments:

Post a Comment