C++

C++ Program to Find Size of Variables

This program declares 4 variables of type int, float, double and char. Then, the size of each variable is evaluated using sizeof operator.




To find the size of variable,  sizeof operator is used.

C++ Code:

Output:

About the author

admin

Leave a Comment