You can't do it in C90, but you can do it in C99, which GCC conveniently supports.
Type: Posts; User: Elysia
You can't do it in C90, but you can do it in C99, which GCC conveniently supports.
Is the C compiler allowed to make an assumption that the value of a const variable won't change and hence replace occurrences of that variable with its value (even though the variable itself isn't...
C != C++, that's the simple answer.
const integers aren't considered constant expressions in C, so using it, for example, to set the size of an array may not work (it won't work under C90, but it...