You are viewing a single comment's thread. Return to all comments →
My solution for C Code
... int temp1, temp2; for(int i = 0; i < n; i++) { if( i < n/2) { temp1 = arr[i]; arr[i] = arr[n-i-1]; arr[n-i-1] = temp1; } printf("%d ", arr[i]); } ...
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Arrays
You are viewing a single comment's thread. Return to all comments →
My solution for C Code