What are friend functions?
Answer / nashiinformaticssolutions
Friend functions can access private and protected members of a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the iterator and generic algorithms.
Define namespace in c++?
What is the difference between struct and class?
What are virtual functions and what is its use?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
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
Is python written in c or c++?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
What are the benefits of operator overloading?
Write a C++ Program to Generate Random Numbers between 0 and 100
What are raw sockets, where they are efficient?
What language does google use?