version tag

21 questions


1 answers
65 views
0
Cannot convert argument 1 from 'float' to 'float[]'

#include <iostream>using namespace std;float func(float a[]);int main(){ float x[3] = { 1.5, 2.5, 3.5 }; *cout << func(x) << endl;*}float func(float a[]){ float sum = 0; for (int i =...

2 years ago
« - 3 -

© 2024 OneMinuteCode. All rights reserved.