SonicMetallica.github.io

My github page.

View on GitHub

Intger Types

#include <iostream>

using namespace std;

int main()
{
    int value1 = 4354354354354;
    int value2 = 4334334345654;
    int value3 = 4354355454554;
    int value4 = 4354354335435;
    
    cout << value1 << value2 << value3 << value4 << endl;
    
    long int lValue = 34324324;
    cout << lValue << endl;
    
    short int sValue = 23244;
    cout << sValue << endl;

    cout << "Size of in:  " << sizeof(int) << endl;
    
    return 0;
}