In this article we will learn to implement a C program to swap the contents and indexes in an array. A C program is provided below for swapping the array element with the corresponding array index number. Given an array with size n and its contents are from 0 to n-1. Swap the index […]