Search:

Type: Posts; User: Elysia

Search: Search took 0.22 seconds.

  1. Replies
    14
    Views
    8,418

    You can't do it in C90, but you can do it in C99,...

    You can't do it in C90, but you can do it in C99, which GCC conveniently supports.
  2. Replies
    14
    Views
    8,418

    Is the C compiler allowed to make an assumption...

    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...
  3. Replies
    14
    Views
    8,418

    C != C++, that's the simple answer. const...

    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...
Results 1 to 3 of 3