Does cube(side) send the value of side to s at the top?

inline float cube(const float s) {return s*s*s;}
int main() {

float side; cin >> side;
cout << "Volume of cube with side" << side<< "is "
<< cube(side) << endl;

return 0;
}