Rules:-
The rules for identification of variables in the programming are
1. The first character of a variable must be alphabetic one.
2. The maximum length of a variable in turbo C version is up to 31 characters.
3. There should no blank space in between two characters of a variable like AR EA (invalid variable).
4. There should no special character in the variable name, instead of standard core line like spe-d.
5. The variable must be meaningful it may be the first character of that thing or full name like area or a.
6. Reserved C word cannot be used as variable name.
Posted by: Wasim Javed
No comments:
Post a Comment