-
-
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
-
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?
-
-
-
-
Adding user from c program to Mysql.
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
-
Which of the following operators can not be overloaded
A) == b)++ c)?! d)
-
Pointers Datatype
What is the datatype of pointer?
-
What is a scope resolution operator?
A scope resolution operator (::), can be used to define the member functions of a class outside the class.
-
-
Empty Class Size
What is the size of an empty class?
-
Constructors Programmatic
How do you pass parameters to super class ?
-
-
-
-
-
Function Pointers
Why function pointers are not dereferanced?
Ans