To know the size in bytes of floating point variables for your computer. - C++ Operator

C++ examples for Operator:sizeof

Description

To know the size in bytes of floating point variables for your computer.

Demo Code

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

Result


Related Tutorials