How to define a float array in C : I am working a debian 7, using gcc.

I initialize a test vector as follows:

float test_vec[] = {4.31,3.33,1.58,0.75,7.82,1.85,0.45,0.11,0.98,3.45};

The sizeof() function applied to this vector returns 40.

I use a for() to printf each element and most of them are zero or very large positive/negative numbers.

How I should define the test_vector in order to get the right size?