A short note to everyone who programs in C:
const X*
= a pointer to a constant stuffX* const
= a pointer that the memory address can’t be changedconst X* const
= both
A short note to everyone who programs in C:
const X*
= a pointer to a constant stuffX* const
= a pointer that the memory address can’t be changedconst X* const
= both