Define a way other than using the keyword inline to make a function inline?

Answer Posted / subham chaudhary

The function must be defined inside the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which format specifier is used for printing a pointer value?

583


Is vector a class in c++?

598


Explain the concept of dynamic allocation of memory?

619


what are the decision making statements in C++? Explain if statement with an example?

656


Why can’t you call invariants() as the first line of your constructor?

564






Which compiler does turbo c++ use?

610


How do you decide which integer type to use?

579


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

691


What are arithmetic operators?

544


What do you mean by stack unwinding in c++?

732


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

664


What are references in c++? What is a local reference?

576


Does dev c++ support c++ 11?

556


Can we distribute function templates and class templates in object libraries?

595


What is function prototyping? What are its advantages?

595