Draw a flow chart and write a program for the difference
between the sum of elements with odd and even numbers.
Two dimensional array.
No Answer is Posted For this Question
Be the First to Post Answer
What is abstraction c++?
What are the main features of c++?
Explain about Virtual Function in C++?
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
What will the line of code below print out and why?
Is c++ fully object oriented?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
List the special characteristics of constructor.
What is a mutable member?
What are the weaknesses of C++?
How many static variables are created if you put one static member into a template class definition?
How to get the current position of the file pointer?