You copied the Doc URL to your clipboard.

Mixed declarations and statements in C99

C99 enables you to mix declarations and statements within compound statements, like in C++. For example:

void foo(float i)
{
    i = (i > 0) ? -i : i;
    float j = sqrt(i);    // illegal in C90
}
Was this page helpful? Yes No