-
Constructors Programmatic
How do you pass parameters to super class ?
Empty Class Size
What is the size of an empty class?
What is a scope resolution operator?
A scope resolution operator (::), can be used to define the member functions of a class outside the class.
Pointers Datatype
What is the datatype of pointer?
Which of the following operators can not be overloaded
A) == b)++ c)?! d)
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.
Inline functions advantages
What is the inline function and what is the use of inline function?
Constructor initialization lists
What is advantage of using Constructor initialization lists?
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
Ans