Horje
size of int Code Example
size of int *
// Size of int* (pointer) in C is:
// 8 Bytes == 64 Bits 
getting the size of int
try:
    Number = int(input("Input any Number:- "))
    converson = str(Number)
    Size = len(converson)
    print("The size of Intger is ",Size)
except:
    print("Input is incorrect")
size of int
#include <iostream>
using namespace std;

int main(){    
    cout << "Size of char: " << sizeof(char) << " byte" << endl;
    cout << "Size of int: " << sizeof(int) << " bytes" << endl;
    cout << "Size of float: " << sizeof(float) << " bytes" << endl;
    cout << "Size of double: " << sizeof(double) << " bytes" << endl;

    return 0;
}




Cpp

Related
Fast Inverse Square Root Code Example Fast Inverse Square Root Code Example
qt file explorer Code Example qt file explorer Code Example
variabili in c++ Code Example variabili in c++ Code Example
c++ hide  credentials Code Example c++ hide credentials Code Example
even and odd sum in c++ Code Example even and odd sum in c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7