.الخرج هو: 12 class Rectangle { public: float 1, b; Rectangle() { 1=4; b=8; } }; int main() { Rectangle rect; cout <
Posted: Mon Jun 06, 2022 6:44 pm
.الإخراج خطأ class X { public: static int i; X() { }; }; int main() { x obj; cout << obj.i; } حقيقي 0 // construtor خطأ شنيع
.الخرج هو: 12 class Rectangle { public: float 1, b; Rectangle() { 1=4; b=8; } }; int main() { Rectangle rect; cout <<rect.1*rect.b; } حقيقي 0 * O خطأ شنيع
Posted: Mon Jun 06, 2022 6:44 pm
.الإخراج خطأ class X { public: static int i; X() { }; }; int main() { x obj; cout << obj.i; } حقيقي 0 // construtor خطأ شنيع