float

suggest change

A floating-point type, typically 32 bits. The standard does not require a particular size. The values of float are a subset of the values of double, and the values of double are a subset of the values of long double.

float area(float radius) {
    const float pi = 3.14159f;
    return pi*radius*radius;
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents