WHAT IS VARIABLES IN "C".?

VARIABLES :-

                                    A variables is a data name that may be used to store a data value. A variables may take different values at different times during the execution of a program. Variables must be defined before they are in a program.

The Rules for variable name are:

  1. A variables may consists of latter, digits and underscore(......).
  2. The first character must be a latter.
  3. Special symbols and blanks are not allowed.
  4. Keywords or Reserved words are not allowed. 
  5. Both uppercase and lowercase letters are allowed and are considered to be distinguishable. e.g. the variables SUM is not same as sum or sum.
     6. A variable name may be as long as you wish, but the first 8 charactered of a variable are                       recognized by C Compilers. The variables name accountsbranch and accuntsoffice 
         would be regarded as identical variable in C.                                                                                                                    

Post a Comment

0 Comments

Copyright (c) 2019 Designed by Shubham tiwari All Right Reseved