Const (computer programming): Difference between revisions

Content deleted Content added
Removes the stupid Pointee thing with "pointed to" that reads much better.
Line 47:
ptrToConst = NULL; // OK: modifies the pointer
 
*constPtr = 0; // OK: modifies the "pointee"pointed to data
constPtr = NULL; // Error! Cannot modify the pointer