When a function is made inline. Write the situation where
inline functions may not work.

Answer Posted / guest

THE FUNCTION WHICH IS DECLARE INSIDE THE BODY OF THE BASE
CLASS, IS CALLED INLINE MEMBER FUNCTION.

THE INLOINE FUNCTION MAY NOT WOLRK WHEN IT IS NOT ACCESSED
THROUGH THE OBJECTS.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are static variables?

617


What is the use of default constructor?

569


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

610


Can we overload operator in c++?

546


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3406






Why cstdlib is used in c++?

584


Differentiate between a constructor and a method in C++.

560


Can we define function inside main in c++?

553


Can we sort map in c++?

592


What is #include iostream in c++?

589


Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D

3055


Can we run c program in turbo c++?

588


What is a stack c++?

571


What is diamond problem in c++?

539


What is ios :: in in c++?

635