Take FREE!! Online AMCAT Mock Test to Crack Wipro NLTH, Capgemini, etc.
Get Off-Campus Placement Jobs Info !!!
Practice Given Here Wipro NLTH Practice Q&A

Program Discussion :: Array

Home > Programs > Array

4 / 23

Write a program to sort an array into two halves, one half ascending and second half descending.

Answer:

#include 

int main(void)
{
   int a[10], i=0, j=0, n, t;

   printf ("\n Enter the no. of elements: ");
   scanf ("%d",

Asked In :: TCS Global Edge

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: