Get premium membership and access questions with answers, video lessons as well as revision papers.
A binary member operator function is passed the left operand implicitly via the ‘this’ pointer.A binary friend operator function is passed both operands explicitly.Unary member operator functions have no explicit parameters.A friend unary operator function has one parameter.
Githiari answered the question on November 17, 2017 at 05:46
- When is it appropriate to use default argument? When is it probably a bad idea(Solved)
When is it appropriate to use default argument? When is it probably a bad idea
Date posted: November 17, 2017. Answers (1)
- A programmer while writing in C++ language realized a mistake with the code below as the major cause of the program’s failure.Point out the mistake.
Void...(Solved)
A programmer while writing in C++ language realized a mistake with the code below as the major cause of the program’s failure.Point out the mistake
Void f(int a);
Void f(int a);
Date posted: November 17, 2017. Answers (1)
- Describe the mistake with the following C++ computer code declaration?
Int f(int a=0, double balance);
(Solved)
Describe the mistake with the following C++ computer code declaration?
Int f(int a=0, double balance);
Date posted: November 17, 2017. Answers (1)
- Briefly explain why copy constructors are needed in the world of computer programming.(Solved)
Briefly explain why copy constructors are needed in the world of computer programming.
Date posted: November 17, 2017. Answers (1)
- Explain why using a default argument is related to function overloading(Solved)
Explain why using a default argument is related to function overloading
Date posted: November 17, 2017. Answers (1)
- Give two advantages of reference pattern in a computer program(Solved)
Give two advantages of reference pattern in a computer program
Date posted: November 17, 2017. Answers (1)
- What are the ways that a class might indicate an allocation failure in a computer program?(Solved)
What are the ways that a class might indicate an allocation failure in a computer program?
Date posted: November 17, 2017. Answers (1)
- Give two possible restrictions to an inline functions(Solved)
Give two possible restrictions to an inline functions
Date posted: November 17, 2017. Answers (1)
- There are two ways to cause a function to be expanded in line in a computer program.What are they(Solved)
There are two ways to cause a function to be expanded in lineprogram in a computer .What are they
Date posted: November 17, 2017. Answers (1)
- What is the difference between a class and a structure?(Solved)
What is the difference between a class and a structure?
Date posted: November 17, 2017. Answers (1)
- Explain 5 application of internet in a learning institution (Solved)
Explain 5 application of internet in a learning institution
Date posted: November 17, 2017. Answers (1)
- What is an inline function.Give an advantage and a disadvantage of using an inline function when coding a computer program(Solved)
What is an inline function.Give an advantage and a disadvantage of using an inline function when coding a computer program
Date posted: November 17, 2017. Answers (1)
- Distinguish between a constructor and a destructor and specify when they are executed in a computer code.(Solved)
Distinguish between a constructor and a destructor and specify when they are executed in a computer code.
Date posted: November 17, 2017. Answers (1)
- Explain what an anonymous union is and how it differs from a normal union in computer programming(Solved)
Explain what an anonymous union is and how it differs from a normal union in computer programming
Date posted: November 17, 2017. Answers (1)
- List six database programs available in the market today.(Solved)
List six database programs available in the market today.
Date posted: November 17, 2017. Answers (1)
- (a) What is a utility software? (b) Give four examples of utility software(Solved)
(a) What is a utility software?
(b) Give four examples of utility software
Date posted: November 17, 2017. Answers (1)
- List four stages involved in the data processing cycle.(Solved)
List four stages involved in the data processing cycle
Date posted: November 17, 2017. Answers (1)
- List three differences between a laser printer and a dot matrix printer(Solved)
List three differences between a laser printer and a dot matrix printer
Date posted: November 17, 2017. Answers (1)
- Explain why computers use binary numbers in data representation(Solved)
Explain why computers use binary numbers in data representation
Date posted: November 17, 2017. Answers (1)
- State any four advantages of using an electronic spreadsheets(Solved)
State any four advantages of using an electronic spreadsheets
Date posted: November 16, 2017. Answers (1)