+ 1
Ye code work kyu nhi kar rha hai
2 Respuestas
+ 3
Ankit Kumar
Because you are calling method wrongly and also taking input n after calling method.
This is wrong
---------
int length( int arr[],int n);
printf("enter the size of array\n");
scanf("%d",&n);
Check below code to see how to call method
https://code.sololearn.com/c6nif4qrc5i3/?ref=app
+ 3
Thañks bhiya