Monday, 11 May 2015

Identifiers in C language

Identifiers in C language

A C language identifier is a name used to identify a variable, function, or any other user-defined item. An identifier starts with a letter A to Z or a to z or an underscore _ followed by zero or more letters, underscores, and digits (0 to 9).
C language does not allow punctuation characters such as @, $, and % within identifiers. C language is a case sensitive programming language. Thus, Manpower and manpower are two different identifiers in C language. Here are some examples of acceptable identifiers:
mohd       zara    abc   move_name  a_123
myname50   _temp   j     a23b9      retVal





0 comments:

Post a Comment