A small piece of code:

```
void func()
{
   const int BUF_SIZE = 5;
   char scale[BUF_SIZE];
}

```

This code is built fine under C++, but under C I have an errors:

```
error C2057: expected constant expression
error C2466: cannot allocate an array of constant size 0

```

Why?

Compiler: Microsoft Visual C++ 2008

Thanks in advance!