Question: story | - - 2 0 1 4 #include ] int main ( ) { } int a [ ] = { 5 , 4

story |--2014 #include
]
int main(){
}
int a []={5,4,3,2,1);
int temp;
for (int i=4; i>0; i--)
a [i%3]= a[i];
for (int i=0;i<2; i++){
temp=a[i]; a[i]=a[4-i];
a [4-i] temp;
}
for (int i=0; i<5; i++)
printf("%d", a[i]);
return 0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!