1. Member functions of a generic class are _____________
Correct Answer is : FALSE
2. Member function of a class can ____________
Correct Answer is : have_query_cache
3. Which among the following is proper syntax for class given below?
class A
{
int a,b;
public : void disp();
}
4. A member function can _______________ of the same class
5. Which member function doesn’t require any return type?
6. Which among the following is not possible for member function?
7. Which among the following are valid ways of overloading the operators?
8. Which among the following is mandatory condition for operators overloading?
9. When the operator to be overloaded becomes the left operand member then ______________
10. If the left operand is pointed by *this pointer, what happens to other operands?
Correct Answer is : C API
11. If a friend overloaded operator have to be changed to member overloaded operator, which operator should be used with the class name?
Correct Answer is : database interface
12. What is the syntax to overload an operator?
13. Why the left parameter is removed from parameter list?
14. Which object’s members can be called directly while overloading operator function is used (In function definition)?
15. If left operand member is specified directly in the function definition, which is the correct implicit conversion of that syntax?
16. When the friend operator overloading is converted into member operator overloading _______________
17. Where in the parameter list is the implicit *this is added?
Correct Answer is : –verbose
18. Which operator among the following can be overloading using only member function?
Correct Answer is : option file
19. Which operator among the following can be overloaded using both friend function and member function?
20. All the operators can be overloaded using the member function operator overloading.