Question: 4 2 0 points Given the following function prototype: int CalcRoute ( int x = - 1 , int y , int z ) ;

4
20 points
Given the following function prototype: int CalcRoute(int x=-1, int y, int z);
What is true for the following function call: CalcRoute (2,3);
The call will yield x of -1,y of 2, and z of 3
The call will yield x of 2,y of 3, and z of -1
Error: If any default parameters are defined, all parameters must have default values
Error: Any default parameters must always end the parameter list
5
20 points
 4 20 points Given the following function prototype: int CalcRoute(int x=-1,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!