Hi, I've got this function:
void vector(int imputC[]) { 
    //return v*   
    //imputC[].lenght
    int a =sizeof(imputC) / sizeof(int);
    // float v[2 * a + 2];
    // v[0]=0;
    for (int i = 0; i < a ; i++)
        v[i] =(float)imputC[i];
    for(int j = 0; j < 10; j++)
        cout << a << endl;
}
And main:
int main() {
    int array[] = { 23, 5, -10, 0, 0, 321, 1, 2, 99, 30 };
    // float *v[22];
    vector(array);
}
And size of a is 1. Why is that? I don't understand, I think that's is the only object.
 
     
     
    