Question: Question 1 2.5 pts Overloading means: putting too many lines of code in a function having two or more return statements in a function, having


Question 1 2.5 pts Overloading means: putting too many lines of code in a function having two or more return statements in a function, having two or more functions with the same name. calng a function too often in a program. having too many parameters in a function. Question 2 2.5 pts What is wrong with the following code? void calc EOQ(int q, double c) in main int qty: double cost economicOrdenQty-calc-EOQ[qty, cost): calc EOQ is called with arguments of the wrong type. cac EOQ should be called in an assignment statement The return value from calc EOQ is never used. calc EOQ does not return a value; therefore, it cannot be used in an assignment Nothing is wrong with it. Question 3 2.5 pts Overloaded functions must have different names have different parameter lists return a value. have the same parameter list. use reference parameters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
