Variables

C Variables: Whose values may vary during program execution.

  • Naming convention: [_,a-z,A-Z].[_,a-z,A-Z,0-9]*
    Example: s_name, studentName, Marks_5
  1. Integer Variables: int (2/4 bytes), short (2 bytes), long (4 bytes)
  2. Real Variables: float (4 bytes), double (8 bytes), long double (10 bytes)
  3. Character Variables: char (1 byte)

Contributor's Info

Created:
0Comment