-
Constructor initialization lists
What is advantage of using Constructor initialization lists?
-
inline functions advantages
what is the inline function and what is the use of inline function?
-
-
C/C++ black screen opens and closes
While executing a program in C++, it happens the black screen opens and closes automatically without displaying the output(program is correct). How to recover from this situation?
-
Classes
The copy constructor of class Money is called in which of the following cases?Choose one answer. a. Money amount1;Money amount2(amount 1); b. void func(Money amount);[...]Money amount1;[...]func(amount1); c. Money func();[...]Money amount1 = func(); d. all of the above
-
Bottom-Up Approach
Why we follow top down approach in C-language and bottom up approach in C++?Explain in detail.