Does a const qualifier inside a struct declaration do anything?
Summary The const qualifier in C has a specific role when used inside a struct declaration. In the given example, struct foo { const int bar; }; and struct foo { const int *bar; };, the const qualifiers have different implications. The first declaration means that the integer bar is constant and cannot be modified … Read more