C++ float type size
#include <iostream> using namespace std; int main()/* www . j a v a2 s . c o m*/ { cout << "The size of floating-point variables on \n"; cout << "this computer is " << sizeof(float) << "\n"; return 0; }