What is wrong with the following C++ prototype? char *wordwrap(char *str, int size=0, char ch) ;

      

What is wrong with the following C++ prototype?
char *wordwrap(char *str, int size=0, char ch) ;

  

Answers


Davis
All parameters receiving default argument must appear to the right of those that do not.
Githiari answered the question on February 4, 2018 at 13:22


Next: Briefly describe a default argument in a computer program.
Previous: Explain some ways that ambiguity can be introduced when you are overloading functions in a computer program.

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions