内联函数探究

...
inline double square(double x){return x*x; }
int main()
{
    double a, b;
    double c=13.0;

    a = square(5.0);
    b = square(4.5 + 7.5);
    cout<<"a = "<

你可能感兴趣的:(内联函数探究)