C++ Program to Find Size of Int Float Double and Char data types

By | December 23, 2016

Size of Int Float Double and Char data types


Write a C++ Program to Find Size of Int Float Double and Char data types. Here’s simple Program to Find Size of Int Float Double and Char data types in C++ Programming Language.


To find the size of variable,  sizeof operator is used i.e sizeof(dataType).

Here is source code of the C++ Program to Find Size of Int Float Double and Char data types. The C++ program is successfully compiled and run(on Codeblocks) on a Windows system. The program output is also shown in below.


SOURCE CODE : :



Output : :



Above is the source code for C++ Program to Find Size of Int Float Double and Char data types which is successfully compiled and run on Windows System.The Output of the program is shown above .

If you found any error or any queries related to the above program or any questions or reviews , you wanna to ask from us ,you may Contact Us through our contact Page or you can also comment below in the comment section.We will try our best to reach up to you in the short interval.


Thanks for reading the post….

Leave a Reply