#include <iostream>
#include <climits>
#include <iomanip>

using namespace std;

int main() {

    long long a = INT_MAX;

    cout << sizeof(a) << endl;

    float b = a;

    cout << sizeof(b) << endl;
    cout << fixed << setprecision(0);
    cout << a << " " << b << endl;

    return 0;
}

图片说明