Answers for "sizeof operator in c++"

C++
3

sizeof operator in c++

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