Get premium membership and access questions with answers, video lessons as well as revision papers.
Ambiguity can be introduced by default type conversions, reference parameters, and default argument.
Githiari answered the question on February 4, 2018 at 13:26
- What is wrong with the following C++ prototype?
char *wordwrap(char *str, int size=0, char ch) ;(Solved)
What is wrong with the following C++ prototype?
char *wordwrap(char *str, int size=0, char ch) ;
Date posted: February 4, 2018. Answers (1)
- Briefly describe a default argument in a computer program.(Solved)
Briefly describe a default argument in a computer program.
Date posted: February 4, 2018. Answers (1)
- Briefly explain what the overload keyword does and why it is no longer needed in a computer program.(Solved)
Briefly explain what the overload keyword does and why it is no longer needed in a computer program.
Date posted: February 4, 2018. Answers (1)
- What type of operations will cause the copy constructor to be invoked?(Solved)
What type of operations will cause the copy constructor to be invoked?
Date posted: February 4, 2018. Answers (1)
- What is the most common general form of a copy constructor in C++ language?(Solved)
What is the most common general form of a copy constructor in C++ language?
Date posted: February 4, 2018. Answers (1)
- Give two reasons why you might need to overload a class's constructor in a computer program.(Solved)
Give two reasons why you might need to overload a class's constructor in a computer program.
Date posted: February 4, 2018. Answers (1)
- Give one disadvantage of reference parameters.(Solved)
Give one disadvantage of reference parameters.
Date posted: February 4, 2018. Answers (1)
- What is the general forms of new that is used to initialize a dynamic variable? Give a correct example.(Solved)
What is the general forms of new that is used to initialize a dynamic variable? Give a correct example.
Date posted: February 4, 2018. Answers (1)
- Given a pointer to an object in a C++, what operator is used to access a member of that object?(Solved)
Given a pointer to an object in a C++, what operator is used to access a member of that object?
Date posted: February 4, 2018. Answers (1)
- What is a reference in programming? What is one advantage of using a reference parameter?(Solved)
What is a reference in programming? What is one advantage of using a reference parameter?
Date posted: February 4, 2018. Answers (1)
- Show the general forms for 'new' and 'delete'.What are some advantages of using them instead of using malloc() and free() in a C++ program.(Solved)
Show the general forms for 'new' and 'delete'.What are some advantages of using them instead of malloc() and free() in a C++ program.
Date posted: February 4, 2018. Answers (1)
- What is the 'this' pointer in a program code?(Solved)
What is the 'this' pointer in a program code?
Date posted: February 4, 2018. Answers (1)
- What is a friend function in a computer program?(Solved)
What is a friend function in a computer program?
Date posted: February 4, 2018. Answers (1)
- Explain why you must be careful when passing object to a function or returning objects from a function in a program.(Solved)
Explain why you must be careful when passing objects to a function or returning objects from a function in a program.
Date posted: February 4, 2018. Answers (1)
- Can the address of an object in a program be passed to a function as an argument?(Solved)
Can the address of an object in a program be passed to a function as an argument?
Date posted: February 4, 2018. Answers (1)
- What single prerequisite must be met in order for one object to be assigned to another during program creation?(Solved)
What single prerequisite must be met in order for one object to be assigned to another during program creation?
Date posted: February 4, 2018. Answers (1)
- Provide a troubleshooting guide to a computer that is unable to join a domain(Solved)
Provide a troubleshooting guide to a computer that is unable to join a domain.
Date posted: February 1, 2018. Answers (1)
- Explain major components which together constitute the open system(Solved)
Explain major components which together constitute the open system
Date posted: January 24, 2018. Answers (1)
- Outline the characteristics of a system(Solved)
Outline the characteristics of a system
Date posted: January 24, 2018. Answers (1)
- Define:
a)System
b) Information System
c) Computer application
d) System Analyst(Solved)
Define:
a)System
b) Information System
c) Computer application
d) System Analyst
Date posted: January 24, 2018. Answers (1)