From 0c9ebf297ea94bb7bb06415fc0cc799cce21664d Mon Sep 17 00:00:00 2001 From: Rishabh Sethi <54479777+i-am-expert@users.noreply.github.com> Date: Wed, 2 Oct 2019 15:29:25 +0530 Subject: [PATCH] Updated the size of float and long long int --- C++/40_cppBeginners.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/C++/40_cppBeginners.cpp b/C++/40_cppBeginners.cpp index d0e7b6f..2a4c949 100644 --- a/C++/40_cppBeginners.cpp +++ b/C++/40_cppBeginners.cpp @@ -11,6 +11,12 @@ int main(){ double c; cout << "size of double: " << sizeof(c) << endl; + + long long int d; + cout << "size of long long int: " << sizeof(d) << endl; + + float e; + cout << "size of float: " << sizeof(e) << endl; double bucky[10]; cout << "size of bucky[]: " << sizeof(bucky) << endl;