Saturday, February 9, 2013

C/C++ Programming : Identifier names

Identifiers are the names which are used to reference variables, functions, labels and user defined objects. Valid length of an identifier is 1 to 32 characters. The first character of an identifier must be a letter or it can be an underscore with subsequent characters including letters numbers and the underscore. We can use $ in an identifier name but use of $ is not recommended. Let’s have a look on the example of correct and incorrect use of identifier names.
Identifier names are case sensitive.  HELLO, hello and Hello are three different identifiers. We cannot use C keyword as identifier and it cannot be same as standard library funtions.
Print Page

RELATED POSTS



No comments:

Post a Comment