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
What is c++ and its features?
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?
Explain what happens when a pointer is deleted twice?
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.
What is a local reference?
What is c++ in english?
What is a .lib file in c++?
Explain the use of this pointer?
Explain function overloading and operator overloading.
Can you use the function fprintf() to display the output on the screen?
Which is not a valid keyword a) public b) protected c) guarded
What is endl?
If there are two catch statements, one for base and one for derived, which should come first?
Explain terminate() and unexpected() function?
What is an undefined reference/unresolved external symbol error and how do I fix it?