Question: Given a function declaration as below: void Fx(int X [ ], int m, int n); Which one is the correct function call to call this

Given a function declaration as below: void Fx(int X [ ], int m, int n); Which one is the correct function call to call this function for the following array and with m = 1 and n = 10 int B[ ] = {2, 4, 6, 7, 9, 11, 20, 23, 14, 17};

cout << Fx(B, 1, 10) << endl; Fx(B[ ], 1, 10); Fx(B, 1, 10); cout << Fx(B[ ], 1, 10);

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!