•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Type Qualifiers: const ]

Informs the compiler that the defined variable will never have its
value changed.

Any attempt to change a 'const' variable will generate an error
message.

'const' variables must either be initialized or be function
parameters.

Note: (const char*) is a char pointer which never changes.
      (char const*) is a pointer to a (const char) variable.

See also Variables.