+ 1
4th Apr 2021, 6:08 AM
Ankit Kumar
Ankit Kumar - avatar
2 odpowiedzi
+ 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
4th Apr 2021, 6:44 AM
A͢J
A͢J - avatar
+ 3
Thañks bhiya
4th Apr 2021, 7:26 AM
Ankit Kumar
Ankit Kumar - avatar