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

Answer Posted / sathishbca

inline function can be use in single line manipulations in
program it cannot use in looping, branching

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c++ and its features?

574


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1582


Explain what happens when a pointer is deleted twice?

733


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


What is a local reference?

669






What is c++ in english?

575


What is a .lib file in c++?

568


Explain the use of this pointer?

634


Explain function overloading and operator overloading.

620


Can you use the function fprintf() to display the output on the screen?

662


Which is not a valid keyword a) public b) protected c) guarded

740


What is endl?

632


If there are two catch statements, one for base and one for derived, which should come first?

576


Explain terminate() and unexpected() function?

625


What is an undefined reference/unresolved external symbol error and how do I fix it?

598