Define inline function
An inline function is one for which the compiler copies the code from the function definition directly into the code of the calling function rather than creating a separate set of instructions in memory. This eliminates call-linkage overhead and can expose significant optimization opportunities.
| Is This Answer Correct ? | 0 Yes | 0 No |
The "virtual" specifier in a member function enables which one of the following? a) Monmorphism b) Late binding c) Metamorphism d) Solomorphism e) Inheritance
Is java easier than c++?
What is an action class?
Differentiate between a constructor and a destructor in c++.
What are the different types of comments allowed in c++?
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
What are smart pointers?
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
Explain calling an object's member function(declared virtual)from its constructor?
What is c++ namespace?
What is #include c++?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).