C++

Find Size of int, float, double and char in Your System using C++1 min read

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

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

Output:




cpp-examples

Leave a Comment