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 |
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
How do I download c++?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
Explain what happens when a pointer is deleted twice?
What operators can you overload in c++?
Explain method of creating object in C++ ?
What is an operator in c++?
Explain stack unwinding.
what are the iterator and generic algorithms.
What is the main function c++?
Why do we need templates?
How do I write a c++ program?