Saturday, December 11, 2010

C Language

IDENTIFIER?
 The Identifier are the names used to represent variable, constants, types, functions and labels in the program. An identifier in C may consist of 31 characters. If the identifier long than 31 characters, the remain character will be ignored by the C compiler.
RULES FOR IDENTIFIER
Some-important rules for identifier name are as follows.
  • The first character must be an alphabet or underscore (_).
  • The identifier name must consist of only alphabetic characters, digits, or underscores.
  • The reserved word cannot be used as identifier name.

                                       TYPES OF IDENTIFIERS
                                       There are two types of identifiers in C language.
                                       i) Standard Identifiers
                                      ii) User-defined Identifiers

No comments:

Post a Comment