1. Which of the following is the correct class of the object cout?





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->There are 50 students in a class. In a class test 22 students get 25 marks each, 18 students get 30 marks each. Each of the remaining gets 16 marks. The average mark of the whole class is :....
QA->In a class of 20 students the average age is 16 years.If the age of the class teacher is added to that of students,the average age of the class becomes 17 years.What is the age of the teacher?....
QA->In a class of 60 students, 55% are boys. The number of girls in the class is :....
QA->In Object Oriented Software Design, which of the following is not true?....
QA->Which spacecraft has became the first man-made object to breach Interstellar Space and leave the Solar System recently ?....
MCQ->A person standing on the ground at point A saw an object at point B on the ground at a distance of 600 meters. The object started flying towards him at an angle of 30° with the ground. The person saw the object for the second time at point C flying at 30° angle with him. At point C, the object changed direction and continued flying upwards. The person saw the object for the third time when the object was directly above him. The object was flying at a constant speed of 10 kmph. Find the angle at which the object was flying after the person saw it for the second time. You may use additional statement(s) if required. Statement I: After changing direction the object took 3 more minutes than it had taken before. Statement II: After changing direction the object travelled an additional 200√3 meters. Which of the following is the correct option?....
MCQ->What will be the output of the following program? #include<iostream.h> class Number { int Num; public: Number(int x = 0) { Num = x; } void Display(void) { cout<< Num; } void Modify(); }; void Number::Modify() { int Dec; Dec = Num % 13; Num = Num / 13; if(Num > 0 ) Modify() ; if(Dec == 10) cout<< "A" ; else if(Dec == 11) cout<< "B" ; else if(Dec == 12) cout<< "C" ; else if(Dec == 13) cout<< "D" ; else cout<< Dec ; } int main() { Number objNum(130); objNum.Modify(); return 0; }....
MCQ->What will be the output of the following program? #include<iostream.h> class A { public: void BixFunction(void) { cout<< "Class A" << endl; } }; class B: public A { public: void BixFunction(void) { cout<< "Class B" << endl; } }; class C : public B { public: void BixFunction(void) { cout<< "Class C" << endl; } }; int main() { A ptr; B objB; ptr = &objB; ptr = new C(); ptr->BixFunction(); return 0; }....
MCQ->Which of the following statement is correct about the program given below? #include<iostream.h> static int Result; class India { public: void Change(int x = 10, int y = 20, int z = 30) { cout<< x + y + z; } void Display(int x = 40, float y = 50.00) { Result = x % x; cout<< Result; } }; class Bix { int x, y; public: void Change(int x, int y = 50) { cout<< x + y; } }; class IndiaBix: public India, public Bix { public: void Display(int x = 10, int xx = 100, int xxx = 1000) { Result = x + xx % x x; cout<< Result ; } }; int main() { IndiaBix objBix; objBix.India::Display(10, 20.00); return 0; }....
MCQ->What will be the output of the following program? #include<iostream.h> class BixBase { public: BixBase() { cout<< "Base OK. "; } ~BixBase() { cout<< "Base DEL. "; } }; class BixDerived: public BixBase { public: BixDerived() { cout<< "Derived OK. "; } ~BixDerived() { cout<< "Derived DEL. "; } }; int main() { BixBase basePtr = new BixDerived(); delete basePtr; return 0; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions