1. Find the output of the below program.
int main()
{
int a[5]={17,23,19,11,31};
int i;
for(i=1;j<4;i=i+1)
{
switch(a[i]*a[i+1])
{
case 20:
a[i+1]=a[i];
case 36
a[i-1]=a[i+1];
break;
default:
a[i]=a[i-1];
}
}
for(i=0;i<5 i=i+1)
printf("%d", a[i]);
}
Answers
Answered by
0
Explanation:
print correct document
error
error
print 1-20
error
Similar questions