Question: Suppose array x is declared as int [ 1 0 ] : and we want to pass the whole array x to the function print

Suppose array x is declared as
int [10] :
and we want to pass the whole array x to the function print_array defiried by
void print_array(int ar[], int length){
int i; for length; i=i+1)
cout(x[10],5)(8x,5)(x,5);
b.printarray(X[5],5);
c.printarray (x[10],5);
d.printarray (8x,5);
 Suppose array x is declared as int [10] : and we

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!