its a part of this codeCode:int arr[]={3,2,5,1,7,4,8,6},i;
Code:void main(){ int arr[]={3,2,5,1,7,4,8,6},i; f1(arr,8); for(i=0; i<8; i++) printf(“%2d”,arr[i]); }
its a part of this codeCode:int arr[]={3,2,5,1,7,4,8,6},i;
Code:void main(){ int arr[]={3,2,5,1,7,4,8,6},i; f1(arr,8); for(i=0; i<8; i++) printf(“%2d”,arr[i]); }
You are declaring an array of ints which is initialized to what is inside the braces, and you are also declaring an integer named "i".
ahhh thanks