Why are pointers not used in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between method and message?
How important is c++?
What are the various situations where a copy constructor is invoked?
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
Why do we use templates?
What c++ is used for?
What are inline functions?
What are destructors?
How does a C++ structure differ from a C++ class?
What is difference between rand () and srand ()?
What is a c++ class?
How the keyword struct is different from the keyword class in c++?