Horje
how to find size of double in c++ Code Example
how to find size of double in c++
#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
check if a word is in map c++ Code Example check if a word is in map c++ Code Example
how to use for c++ Code Example how to use for c++ Code Example
c++ function inside main Code Example c++ function inside main Code Example
namespace c++ Code Example namespace c++ Code Example
sum of 2 arrays c++ Code Example sum of 2 arrays c++ Code Example

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