You are viewing a single comment's thread. Return to all comments →
I just modified the already made code...
Changed the logic of scanning inputs to store values at the end of the array instead of at the start
scanf("%d", &arr[num - (i + 1)])
Seems like cookies are disabled on this browser, please enable them to open this website
Array Reversal
You are viewing a single comment's thread. Return to all comments →
I just modified the already made code...
Changed the logic of scanning inputs to store values at the end of the array instead of at the start
scanf("%d", &arr[num - (i + 1)])