Thenk-youFind the output of the following program,
void main()
{
int arr[5]={1,3,5,7,9},i;
for(i=0;i<5;i=i+1)
{
if(arr[i]/3==0){
arr[i]=arr[i+1]+1;
}
else if(arr[i]*2>15){
arr[i-1]=arr[i]+arr[i-1];
break;
}
else{
arr[i]=arr[i]-1;
}
}
for(i=0;i<5;i=i+1)
{
printf("%d",arr[i]);
}
Answers
Answered by
2
What is this it is not a question
Answered by
0
Answer:
this is not question ha 0.-1 arr
Explanation:
mahhdbdhdhdhdund hi dn
Similar questions