Const (computer programming): Difference between revisions

Content deleted Content added
Line 18:
</code>
 
Both are <code>char</code>s with constant value. On some implementations, using <code>const</code> on both sides of the type (for instance, <code>const char const foo</code>) generates a warning but not an error.
 
===Pointers and references===