AsegGasiaBlog

C Programming - Variables And Constants - Rules For Variable Name

 Rules For Variable Name

  1. Characters allowed : Underscore(_), Capital Letters ( A - Z ), Small Letters ( a - z ), and Digits ( 0 - 9 ).
  2. Blank spaces and commas are not allowed.
  3. No Special Symbols other than underscore(_) are allowed.
  4. First Character should be alphabet or Underscore.
  5. Variable name Should not be Reserved Keywords.

Popular Posts