There are some specific rules for constructing variable names in C language:
(a) Variable name may be a combination of alphabet digits or underscores and its lengths should not exceed 8 characters, some compilers allow 40 characters also.
(b) The first character must be an alphabet.
(c) No comma, blank spaces are allowed in variable name.
(d) No special symbols except underscore can be used as variable names.
0 comments:
Post a Comment