This tag is for questions regarding the International Standard ISO 9899:1999, aka "C99", with technical corrigenda, and for questions about code written in C99 (as opposed to K&R C, C89 or later C Standard revisions like the 2011 revision C11).
I have a header file that is going to contain a large amount (30+) of inline functions. Rather than having the …
c++ c inline c99 forward-declarationWe're doing some code cleanup, fixing signed/unsigned comparisons, running static analysis, etc, on the code base of C, C++, …
c++ c macros c99 variadic-macrosA number of answers for the Stack Overflow question Getting the IEEE Single-precision bits for a float suggest using a …
c c99 unions c11 type-punningThe following code compiles and runs just fine in C (at least according to 'gcc -std=gnu99'), but it …
c++ c99 complex-numbersI'm trying to get long long from the console using standard IO function scanf. I started with %lld: scanf("%lld", &…
c scanf c99I have found a function that calculates square of a number: int p(int n) { int a[n]; //works on …
c arrays pointers c99 variable-length-arrayHow universally is the C99 standard supported in today's compilers? I understand that not even GCC fully supports it. Is …
c c99 standards-complianceTrying some code, I realized that the following code compiles: struct { int x, y; } foo(void) { } It seems as if …
c struct return-value c99 return-type