Wednesday, February 23, 2011
Identifier naming rule in c
In c any name is called identifier. This name can be variable name, function name, enum constant name, micro constant name, goto label name, any other data type name like structure, union, enum names or typedef name.
Rule 1: Name of identifier includes alphabets, digit and underscore.
Valid name: world, addition23, sum_of_number etc.
Invalid name: factorial#, avg value,
Labels:
Exact
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment