الصفحة الرئيسيةc plus plus c++ sizeof يونيو 20, 2021 0 #include using namespace std; int main() { //sizeof(dataType); cout << "Size of char: " << sizeof(char) << " byte" << endl; cout << "Size of int: " << sizeof(int) << " bytes" << endl; cout << "Size of float: " << sizeof(float) << " bytes" << endl; cout << "Size of double: " << sizeof(double) << " bytes" << endl; return 0; } Tags: c plus plus Facebook Twitter