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
What are static variables?
What is the use of default constructor?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
Can we overload operator in c++?
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.
Why cstdlib is used in c++?
Differentiate between a constructor and a method in C++.
Can we define function inside main in c++?
Can we sort map in c++?
What is #include iostream in c++?
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
Can we run c program in turbo c++?
What is a stack c++?
What is diamond problem in c++?
What is ios :: in in c++?