+ 1
4th Apr 2021, 6:08 AM
Ankit Kumar
Ankit Kumar - avatar
2 Answers
+ 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