Hey! I have some problems with arrays and pointers... The code below should explain what I'm trying to do but it seems I'm missing something? Please help!!! Ie, how do I pass a pointer to an array as argument?
Code:void test(float fff[]) { cout << fff.length; } int main(void) { float f[] = {1,2,3,4,5}; test(&f); }