Variables in C(MCA I)
Rules For Constructing Variable Name
- Characters Allowed :
- Underscore(_)
- Capital Letters ( A – Z )
- Small Letters ( a – z )
- Digits ( 0 – 9 )
- Blanks & Commas are not allowed
- No Special Symbols other than underscore(_) are allowed
- First Character should be alphabet or Underscore
- Variable name Should not be Reserved Word
Fundamental Attributes of C Variable :
- Name of a Variable
- Value Inside Variable
- Address of Variable
- Size of a Variable
- Type of a Variable
Variable Declaration ?
- To Declare is nothing but to represent a variable.
- Only Variable name and its Data type is Represented in Declaration.
No comments:
Post a Comment