I wonder how to write function that returns array with constant number of members. Does it make a sense at all?
I know I can do something like that:

```
float* WojtekEQgraph::_Wk_N(float k)
{
    float comp[2];
    comp[0] = cos(-2.0f * double_Pi * (float)k); // Real number
    comp[1] = sin(-2.0f * double_Pi * (float)k); // Imag number

    return comp;
}

```

And it returns array with two members. But actually "return" commend expect pointer to array and no matter how many members it has.
But if in some unpredictable way there will be

`float comp[3]` or `float comp[1]`
I want `return comp;` would give me error.
How can I do that?

I tried that:

```
float[2] WojtekEQgraph::_Wk_N(float k)
{
    float comp[2];
    comp[0] = cos(-2.0f * double_Pi * (float)k); // Real number
    comp[1] = sin(-2.0f * double_Pi * (float)k); // Imag number

    return comp;
}

```

But it doesn't work. For any help thanks in advance.