Answers for "sizeof operator"

C++
3

sizeof operator

cout << "char: " << sizeof(char) << endl;
cout << "int: " << sizeof(int) << endl;
cout << "float: " << sizeof(float) << endl;
cout << "double: " << sizeof(double) << endl;
Posted by: Guest on May-27-2021

Browse Popular Code Answers by Language