Question: 4 . Consider the function int sum ( int x = 1 , int y = 1 , int z = 1 ) ; is

4. Consider the function int sum ( int x =1, int y =1, int z =1) ; is called
by the expression sum (8,5).
How many default arguments is/are used? What is it or what are they?
What is a default argument in a function?

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 Programming Questions!